com.martiansoftware.trivialpersist
Class TrivialPersistException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.martiansoftware.trivialpersist.TrivialPersistException
- All Implemented Interfaces:
- Serializable
- public class TrivialPersistException
- extends Exception
The only kind of exception generated by TrivialPersist. Some
exceptions (such as IOExceptions) may be wrapped by TrivialPersistExceptions.
The original exceptions may be obtained via getCause().
- Author:
- Marty Lamb
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TrivialPersistException
public TrivialPersistException(String s)
- Creates a new TrivialPersistException with the specified message
- Parameters:
s
- the exception's message
TrivialPersistException
public TrivialPersistException(String s,
Throwable t)
- Creates a new TrivialPersistException with the specified message,
wrapping the specified Throwable object
- Parameters:
s
- the exception's messaget
- 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