org.javaWebGen.exception
Class WebAppException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.javaWebGen.exception.UtilException
              extended by 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

Field Summary
static int APP_ERROR
           
static int AUTH_ERROR
           
static int CONFIG_ERROR
           
static int DATA_ERROR
           
static int GENERIC
           
static java.lang.String[] messages
          Error message
static int UPDATE_DID_NOTHING
           
static int VALIDATE_ERROR
           
 
Fields inherited from class org.javaWebGen.exception.UtilException
CACHE_MANAGER, CODE_GENERATOR_EXEC, CODE_GENERATOR_INIT, OBJECT_POOL, PROPREADER, STRING_REPLACE
 
Constructor Summary
WebAppException()
           
WebAppException(int code)
           
WebAppException(int code, java.lang.Exception e)
           
WebAppException(int code, java.lang.String message)
           
WebAppException(int code, java.lang.String msg, java.lang.Exception e)
           
WebAppException(java.lang.String msg)
           
 
Method Summary
 int getCode()
           
 java.lang.Exception getException()
           
 
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
 

Field Detail

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

Constructor Detail

WebAppException

public WebAppException()

WebAppException

public WebAppException(java.lang.String msg)
Parameters:
msg -

WebAppException

public WebAppException(int code,
                       java.lang.Exception e)
Parameters:
code - error code
e - error

WebAppException

public WebAppException(int code,
                       java.lang.String message)
Parameters:
code - error
message -

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 code
msg - message
e - error
Method Detail

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.