apollo
Class UserException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--apollo.ApolloException
|
+--apollo.UserException
- All Implemented Interfaces:
- java.io.Serializable
- public class UserException
- extends ApolloException
This exception is thrown by a users' web application. You can include
whatever kind of object or primitive you want for debugging.
For example, if you want to see the value of Vector x while debugging,
then throw a UserException with the vector [or any other object]
the object will be converted to a string at the top level and displayed
to the webbrowser. [This is assuming you print exceptions at the top
level]. This is a general UserException, so you can do anything with it.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserException
public UserException()
UserException
public UserException(java.lang.String s)
UserException
public UserException(java.lang.Exception e)
UserException
public UserException(java.lang.String s,
java.lang.Exception e)
UserException
public UserException(java.util.Vector v)
UserException
public UserException(java.util.Hashtable h)
UserException
public UserException(java.lang.Boolean b)
UserException
public UserException(java.lang.Byte b)
UserException
public UserException(java.lang.Double d)
UserException
public UserException(java.lang.Float f)
UserException
public UserException(java.lang.Integer i)
UserException
public UserException(java.lang.Long l)
UserException
public UserException(java.lang.Object o)
UserException
public UserException(java.lang.Short sh)
UserException
public UserException(java.lang.StringBuffer sb)
UserException
public UserException(int i)
UserException
public UserException(int[] i)
UserException
public UserException(byte b)
UserException
public UserException(byte[] b)
UserException
public UserException(char ch)
UserException
public UserException(char[] ch)
UserException
public UserException(long l)
UserException
public UserException(boolean b)
UserException
public UserException(float f)
UserException
public UserException(short sh)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getException
public java.lang.Exception getException()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable