com.martiansoftware.trivialpersist
Class TrivialPersistRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.martiansoftware.trivialpersist.TrivialPersistRuntimeException
All Implemented Interfaces:
Serializable

public class TrivialPersistRuntimeException
extends RuntimeException

A RuntimeException thrown by Trivial Persist. Instances of TrivialPersistRuntimeException are likely to wrap other Exceptions. The original exceptions may be obtained via getCause().

Author:
Marty Lamb
See Also:
Serialized Form

Constructor Summary
TrivialPersistRuntimeException(String s)
          Creates a new TrivialPersistRuntimeException with the specified message
TrivialPersistRuntimeException(String s, Throwable t)
          Creates a new TrivialPersistRuntimeException with the specified message, wrapping the specified Throwable object
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrivialPersistRuntimeException

public TrivialPersistRuntimeException(String s)
Creates a new TrivialPersistRuntimeException with the specified message

Parameters:
s - the exception's message

TrivialPersistRuntimeException

public TrivialPersistRuntimeException(String s,
                                      Throwable t)
Creates a new TrivialPersistRuntimeException with the specified message, wrapping the specified Throwable object

Parameters:
s - the exception's message
t - the Throwable object to wrap


Copyright © 2004, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/trivialpersist