com.neatech.climbplan.dataaccess
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by com.neatech.climbplan.common.ApplicationException
          extended by com.neatech.climbplan.dataaccess.DatabaseException
All Implemented Interfaces:
Serializable

public class DatabaseException
extends ApplicationException

See Also:
Serialized Form

Field Summary
static int DATABASE_CONNECTION_ERROR
           
static int DATABASE_QUERY_ERROR
           
private static Hashtable<Integer,String> messages
          Holds exception messages as error code message pairs
static int MOUNTAINEER_ALREADY_EXISTS
           
private static long serialVersionUID
           
 
Fields inherited from class com.neatech.climbplan.common.ApplicationException
ERROR, FATAL, INFORMATION, WARNING
 
Constructor Summary
DatabaseException(int errorCode)
           
 
Method Summary
 
Methods inherited from class com.neatech.climbplan.common.ApplicationException
getErrorCode, getType, setType
 
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

DATABASE_CONNECTION_ERROR

public static final int DATABASE_CONNECTION_ERROR
See Also:
Constant Field Values

DATABASE_QUERY_ERROR

public static final int DATABASE_QUERY_ERROR
See Also:
Constant Field Values

MOUNTAINEER_ALREADY_EXISTS

public static final int MOUNTAINEER_ALREADY_EXISTS
See Also:
Constant Field Values

messages

private static Hashtable<Integer,String> messages
Holds exception messages as error code message pairs

Constructor Detail

DatabaseException

public DatabaseException(int errorCode)