idi.diplom.linda.exceptions
Class GeneralException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by idi.diplom.linda.exceptions.GeneralException
All Implemented Interfaces:
java.io.Serializable

public class GeneralException
extends java.lang.Exception

Exception thrown when an error occurs interacting with the database layer

See Also:
Serialized Form

Constructor Summary
GeneralException()
          Empty constructor
GeneralException(java.lang.String message)
          Constructor that sets the message
GeneralException(java.lang.String message, java.lang.Throwable cause)
          Constructor that takes both a message and a throwable cause
GeneralException(java.lang.Throwable cause)
          Constructor that takes a throwable cause
 
Method Summary
 java.lang.String getMessage()
          Gets the message
 void setMessage(java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralException

public GeneralException()
Empty constructor


GeneralException

public GeneralException(java.lang.String message)
Constructor that sets the message

Parameters:
message -

GeneralException

public GeneralException(java.lang.Throwable cause)
Constructor that takes a throwable cause

Parameters:
cause -

GeneralException

public GeneralException(java.lang.String message,
                        java.lang.Throwable cause)
Constructor that takes both a message and a throwable cause

Parameters:
message -
cause -
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message

Overrides:
getMessage in class java.lang.Throwable
Returns:
the message

setMessage

public void setMessage(java.lang.String message)
Parameters:
message - the message to set