Serializable
public class PersistenceException extends Exception
Constructor | Description |
---|---|
PersistenceException() |
Default constructor.
|
PersistenceException(AS400Message[] messageList) |
Constructs an exception based on a list of system messages.
|
PersistenceException(AS400Message[] messageList,
String s) |
Constructs an exception based on a list of system messages
and detail string.
|
PersistenceException(String s) |
Constructs an exception with the given detail string.
|
PersistenceException(Throwable t) |
Constructs an exception with detail provided by the given throwable.
|
Modifier and Type | Method | Description |
---|---|---|
AS400Message[] |
getMessageList() |
Returns the list of associated system messages; null if not available.
|
String |
toString() |
Returns a string representation of the object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PersistenceException()
public PersistenceException(AS400Message[] messageList)
messageList
- com.ibm.as400.access.AS400Message[]public PersistenceException(AS400Message[] messageList, String s)
messageList
- com.ibm.as400.access.AS400Message[]s
- java.lang.Stringpublic PersistenceException(String s)
s
- java.lang.Stringpublic PersistenceException(Throwable t)
t
- java.lang.Throwablepublic AS400Message[] getMessageList()
Copyright © 2025. All rights reserved.