org.javaWebGen.exception
Class WebAppException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.javaWebGen.exception.UtilException
org.javaWebGen.exception.WebAppException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- WebAuthException
public class WebAppException
- extends UtilException
Web Appliiction error
- Version:
- $Revision: 1.2 $
- Author:
- Kevin Scott
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GENERIC
public static final int GENERIC
- See Also:
- Constant Field Values
CONFIG_ERROR
public static final int CONFIG_ERROR
- See Also:
- Constant Field Values
APP_ERROR
public static final int APP_ERROR
- See Also:
- Constant Field Values
DATA_ERROR
public static final int DATA_ERROR
- See Also:
- Constant Field Values
AUTH_ERROR
public static final int AUTH_ERROR
- See Also:
- Constant Field Values
VALIDATE_ERROR
public static final int VALIDATE_ERROR
- See Also:
- Constant Field Values
UPDATE_DID_NOTHING
public static final int UPDATE_DID_NOTHING
- See Also:
- Constant Field Values
messages
public static final java.lang.String[] messages
- Error message
WebAppException
public WebAppException()
WebAppException
public WebAppException(java.lang.String msg)
- Parameters:
msg
-
WebAppException
public WebAppException(int code,
java.lang.Exception e)
- Parameters:
code
- error codee
- error
WebAppException
public WebAppException(int code,
java.lang.String message)
- Parameters:
code
- errormessage
-
WebAppException
public WebAppException(int code)
- Parameters:
code
- error code
WebAppException
public WebAppException(int code,
java.lang.String msg,
java.lang.Exception e)
- Parameters:
code
- error codemsg
- messagee
- error
getCode
public int getCode()
- Returns:
- error code
getException
public java.lang.Exception getException()
- Returns:
- original Excption if any
Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.