SPT Object Database API

com.sptci.prevayler
Class PrevalentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sptci.prevayler.PrevalentException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstraintException

public class PrevalentException
extends Exception

A custom exception used to indicate errors while interacting with the prevalent system.

Copyright 2008, Sans Pareil Technologies, Inc.

Version:
$Id: PrevalentException.java 4345 2008-06-30 21:22:03Z rakesh $
Author:
Rakesh Vidyadharan 2008-05-22
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
PrevalentException()
          Default constructor.
PrevalentException(String message)
          Create a new exception with the specified message.
PrevalentException(String message, Throwable throwable)
          Create a new exception with the specified message and instance of Throwable that caused the problem.
PrevalentException(Throwable throwable)
          Create a new exception with instance of Throwable that caused the problem.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PrevalentException

public PrevalentException()
Default constructor. Create a new exception with a null message.


PrevalentException

public PrevalentException(String message)
Create a new exception with the specified message.

Parameters:
message - The message that describes the problem.

PrevalentException

public PrevalentException(Throwable throwable)
Create a new exception with instance of Throwable that caused the problem.

Parameters:
throwable - The exception that caused this instance of the exception to be thrown.

PrevalentException

public PrevalentException(String message,
                          Throwable throwable)
Create a new exception with the specified message and instance of Throwable that caused the problem.

Parameters:
message - The message that describes the problem.
throwable - The exception that caused this instance of the exception to be thrown.

SPT Object Database API