Last update: 2011-06-23

org.proteios.core
Class BaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.proteios.core.BaseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigurationException, ConnectionClosedException, DatabaseException, DetachedItemException, InvalidDataException, InvalidPasswordException, PermissionDeniedException

public class BaseException
extends RuntimeException

This is the base class for exceptions in Proteios. All other exceptions defined by Proteios are subclasses of this one.

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form

Constructor Summary
BaseException()
          Create a new BaseException object.
BaseException(String message)
          Create a new BaseException object with the specified message
BaseException(String message, Throwable cause)
          Create a new BaseException object with the specified message
BaseException(Throwable cause)
          Create a new BaseException object acting as a wrapper for another exception that caused the error.
 
Method Summary
 
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
 

Constructor Detail

BaseException

public BaseException()
Create a new BaseException object.


BaseException

public BaseException(String message)
Create a new BaseException object with the specified message

Parameters:
message - The message to throw with the exception

BaseException

public BaseException(String message,
                     Throwable cause)
Create a new BaseException object with the specified message

Parameters:
message - The message to throw with the exception
cause - The original exception

BaseException

public BaseException(Throwable cause)
Create a new BaseException object acting as a wrapper for another exception that caused the error.

Parameters:
cause - The original exception

Last update: 2011-06-23