org.rimudb.exception
Class RimuDBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rimudb.exception.RimuDBException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConstraintViolationException, InvalidKeyListException, RecordChangeException, RimuDBConfigurationException

public class RimuDBException
extends java.lang.Exception

Author:
Simon Ritchie
See Also:
Serialized Form

Constructor Summary
RimuDBException()
          DataException constructor
RimuDBException(java.lang.Exception e)
          DataException constructor
RimuDBException(java.lang.Exception e, java.lang.String originator)
          DataException constructor
RimuDBException(java.lang.Exception e, java.lang.String originator, java.lang.String extraData)
          DataException constructor
RimuDBException(java.lang.String message)
          DataException constructor
 
Method Summary
 java.lang.String getExtraData()
          Return the extra data
 java.lang.String getOriginator()
          Return the originating class
 java.lang.String toString()
          Return a string representing the instance
 
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

RimuDBException

public RimuDBException()
DataException constructor


RimuDBException

public RimuDBException(java.lang.String message)
DataException constructor


RimuDBException

public RimuDBException(java.lang.Exception e)
DataException constructor

Parameters:
e - Exception

RimuDBException

public RimuDBException(java.lang.Exception e,
                       java.lang.String originator)
DataException constructor

Parameters:
e - Exception
originator - String

RimuDBException

public RimuDBException(java.lang.Exception e,
                       java.lang.String originator,
                       java.lang.String extraData)
DataException constructor

Parameters:
e - Exception
originator - String
extraData - String
Method Detail

getOriginator

public java.lang.String getOriginator()
Return the originating class


getExtraData

public java.lang.String getExtraData()
Return the extra data


toString

public java.lang.String toString()
Return a string representing the instance

Overrides:
toString in class java.lang.Throwable
Returns:
String


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.