KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > swingclient > InvalidPOException


1 /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at:
2  http://developer.sun.com/berkeley_license.html
3  $Id: InvalidPOException.java,v 1.1 2005/05/27 00:07:38 inder Exp $ */

4
5 package com.sun.j2ee.blueprints.swingclient;
6
7 public class InvalidPOException extends Exception JavaDoc {
8     private String JavaDoc message;
9     
10     public InvalidPOException(String JavaDoc message) {
11         super(message);
12         this.message = message;
13     }
14     
15     public InvalidPOException(Throwable JavaDoc cause) {
16         super(cause);
17     }
18     
19     public InvalidPOException(String JavaDoc message, Throwable JavaDoc cause) {
20         super(message, cause);
21         this.message = message;
22     }
23     
24     public String JavaDoc getMessage() {
25         return message;
26     }
27 }
28
Popular Tags