|
|
|
|
org.eclipse.mtj.core.persistence
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.mtj.core.persistence.PersistenceException
-
All Implemented Interfaces:
-
Serializable
-
public class PersistenceException
- extends
Exception
PersistenceException class wraps any exception that may be thrown during the
persistence of any class implementing the
IPersistable interface.
-
Since:
- 1.0
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.
Throwable
|
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
|
PersistenceException
public PersistenceException()
- Create a PersistenceException instance without any
message or
Throwable
cause.
PersistenceException
public PersistenceException(
String message)
- Creates a PersistenceException with the specified
error message.
-
Parameters:
-
message - error message.
PersistenceException
public PersistenceException(
String message,
Throwable cause)
- Creates a PersistenceException with the specified
error message and the specified exception as the
root cause.
-
Parameters:
-
message - error message. -
cause - error cause.
PersistenceException
public PersistenceException(
Throwable cause)
- Creates a PersistenceException with the specified
exception as the root cause.
-
Parameters:
-
cause - error cause.
|
|
|