SMILA (incubation) API documentation

org.eclipse.smila.binarystorage
Class BinaryStorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.smila.binarystorage.BinaryStorageException
All Implemented Interfaces:
java.io.Serializable

public class BinaryStorageException
extends java.lang.Exception
implements java.io.Serializable

Base checked binary-storage application exceptions. All checked and intelligent exceptions must be warped to BinaryStorageException.

Author:
mcimpean
See Also:
Serialized Form

Constructor Summary
BinaryStorageException()
          Default constructor.
BinaryStorageException(java.lang.Object[] oParam)
          Creates a new BinaryStorageException with given parameters.
BinaryStorageException(java.lang.String message)
          Exception constructor with message.
BinaryStorageException(java.lang.String message, java.lang.Throwable t)
           
BinaryStorageException(java.lang.Throwable exception)
          Creates a new BinaryStorageException wrapping another exception.
BinaryStorageException(java.lang.Throwable exception, java.lang.String message)
          Creates a new BinaryStorageException wrapping another exception.
 
Method Summary
 java.lang.Throwable getException()
          Gets the wrapped exception.
 java.lang.Object[] getParam()
           
 java.lang.Throwable getRootCause()
          Retrieves (recursively) the root cause exception.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryStorageException

public BinaryStorageException()
Default constructor.


BinaryStorageException

public BinaryStorageException(java.lang.String message)
Exception constructor with message.

Parameters:
message -

BinaryStorageException

public BinaryStorageException(java.lang.Throwable exception)
Creates a new BinaryStorageException wrapping another exception.

Parameters:
exception - the wrapped exception.

BinaryStorageException

public BinaryStorageException(java.lang.Throwable exception,
                              java.lang.String message)
Creates a new BinaryStorageException wrapping another exception.

Parameters:
exception -
message -

BinaryStorageException

public BinaryStorageException(java.lang.Object[] oParam)
Creates a new BinaryStorageException with given parameters.

Parameters:
oParam - theparameters.

BinaryStorageException

public BinaryStorageException(java.lang.String message,
                              java.lang.Throwable t)
Parameters:
string -
e -
Method Detail

getParam

public java.lang.Object[] getParam()
Returns:
passed application parameter

getException

public java.lang.Throwable getException()
Gets the wrapped exception.

Returns:
the wrapped exception.

getRootCause

public java.lang.Throwable getRootCause()
Retrieves (recursively) the root cause exception.

Returns:
the root cause exception.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

SMILA (incubation) API documentation