public class PersistenceException
extends java.lang.Exception
Constructor and Description |
---|
PersistenceException()
Default constructor.
|
PersistenceException(AS400Message[] messageList)
Constructs an exception based on a list of system messages.
|
PersistenceException(AS400Message[] messageList,
java.lang.String s)
Constructs an exception based on a list of system messages
and detail string.
|
PersistenceException(java.lang.String s)
Constructs an exception with the given detail string.
|
PersistenceException(java.lang.Throwable t)
Constructs an exception with detail provided by the given throwable.
|
Modifier and Type | Method and Description |
---|---|
AS400Message[] |
getMessageList()
Returns the list of associated system messages; null if not available.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
public PersistenceException()
public PersistenceException(AS400Message[] messageList)
messageList
- com.ibm.as400.access.AS400Message[]public PersistenceException(AS400Message[] messageList, java.lang.String s)
messageList
- com.ibm.as400.access.AS400Message[]s
- java.lang.Stringpublic PersistenceException(java.lang.String s)
s
- java.lang.Stringpublic PersistenceException(java.lang.Throwable t)
t
- java.lang.Throwablepublic AS400Message[] getMessageList()
public java.lang.String toString()
toString
in class java.lang.Throwable