com.neatech.climbplan.common
Class ApplicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by com.neatech.climbplan.common.ApplicationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DatabaseException, UserManagementException

public class ApplicationException
extends Throwable

See Also:
Serialized Form

Field Summary
static int ERROR
           
private  int errorCode
           
static int FATAL
           
static int INFORMATION
           
private static long serialVersionUID
           
private  int type
           
static int WARNING
           
 
Constructor Summary
ApplicationException(String message)
           
ApplicationException(String message, int type)
           
ApplicationException(String message, int errorCode, int type)
           
 
Method Summary
 int getErrorCode()
           
 int getType()
           
 void setType(int type)
           
 
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INFORMATION

public static final int INFORMATION
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

FATAL

public static final int FATAL
See Also:
Constant Field Values

errorCode

private int errorCode

type

private int type
Constructor Detail

ApplicationException

public ApplicationException(String message)

ApplicationException

public ApplicationException(String message,
                            int type)

ApplicationException

public ApplicationException(String message,
                            int errorCode,
                            int type)
Method Detail

getErrorCode

public int getErrorCode()

setType

public void setType(int type)

getType

public int getType()