41 |
import org.omg.CORBA.UserException; |
import org.omg.CORBA.UserException; |
42 |
import org.omg.CORBA.portable.IDLEntity; |
import org.omg.CORBA.portable.IDLEntity; |
43 |
|
|
44 |
|
import java.io.Serializable; |
45 |
|
|
46 |
/** |
/** |
47 |
* The exception is thrown if the passed address is empty or otherwise invalid. |
* The exception is thrown if the passed address is empty or otherwise invalid. |
48 |
* |
* |
50 |
*/ |
*/ |
51 |
public final class InvalidAddress |
public final class InvalidAddress |
52 |
extends UserException |
extends UserException |
53 |
implements IDLEntity |
implements IDLEntity, Serializable |
54 |
{ |
{ |
55 |
} |
/** |
56 |
|
* Use serialVersionUID (v1.4) for interoperability. |
57 |
|
*/ |
58 |
|
private static final long serialVersionUID = -3775583235364760385L; |
59 |
|
|
60 |
|
/** |
61 |
|
* Create an exception with no message. |
62 |
|
*/ |
63 |
|
public InvalidAddress() |
64 |
|
{ |
65 |
|
} |
66 |
|
|
67 |
|
/** |
68 |
|
* Create an exception with explaining message. |
69 |
|
* |
70 |
|
* @since 1.4 |
71 |
|
*/ |
72 |
|
public InvalidAddress(String why) |
73 |
|
{ |
74 |
|
super(why); |
75 |
|
} |
76 |
|
} |