diff options
Diffstat (limited to 'java/src/Ice/UserException.java')
-rw-r--r-- | java/src/Ice/UserException.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/src/Ice/UserException.java b/java/src/Ice/UserException.java index a9fd0fd74f8..c2e5ba2c96d 100644 --- a/java/src/Ice/UserException.java +++ b/java/src/Ice/UserException.java @@ -9,8 +9,16 @@ package Ice; +/** + * Base class for Slice user exceptions. + **/ public abstract class UserException extends Exception implements Cloneable { + /** + * Creates a copy of this exception. + * + * @return The copy of this exception. + **/ public java.lang.Object clone() { java.lang.Object o = null; @@ -25,9 +33,19 @@ public abstract class UserException extends Exception implements Cloneable return o; } + /** + * Returns the name of this exception. + * + * @return The name of this exception. + **/ public abstract String ice_name(); + /** + * Returns a string representation of this exception. + * + * @return A string representation of this exception. + **/ public String toString() { |