uk.co.kimble.cobra
Class PersistentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.co.kimble.cobra.PersistentException

public class PersistentException
extends java.lang.Exception

The only exception type thrown by COBRA is PersistentException

See Also:
Serialized Form

Constructor Summary
PersistentException()
          Constructs an exception without cause or reason.
PersistentException(java.lang.Exception e)
          Constructs a new exception caused by the specified exception.
PersistentException(java.lang.String reason)
          Constructs a new exception for the specified reason.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistentException

public PersistentException()
Constructs an exception without cause or reason.

PersistentException

public PersistentException(java.lang.String reason)
Constructs a new exception for the specified reason.
Parameters:
reason - the reason the operation failed

PersistentException

public PersistentException(java.lang.Exception e)
Constructs a new exception caused by the specified exception.
Parameters:
e - the exception causing the operation to fail