public class PLException
extends java.lang.Exception
Constructor and Description |
---|
PLException() |
PLException(java.lang.String message) |
PLException(java.lang.String message,
PLException cause)
Wenn schon PLEx: dann nicht weiter verpacken
|
PLException(java.lang.String message,
java.lang.Throwable cause) |
PLException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdditionalMessage() |
int |
getErrorCode()
Von
SQLException.getErrorCode() |
java.lang.String |
getLocalizedMessage()
Hier überschrieben für Messages von SQL-Exceptions
|
JDataRow |
getRow()
Liefert die Zeile mit dem Lockkonflikt
|
java.lang.String |
getSQLState()
Von
SQLException.getSQLState() |
boolean |
isDuplicate()
Versucht anhand des sqlState zu ermitteln, ob ein Unique Constraint verletzt ist.
|
boolean |
isOptimistic()
true, wenn dieser Fehler durch Optimistisches Locking verursacht wurde
|
public PLException()
public PLException(java.lang.String message)
message
- public PLException(java.lang.Throwable cause)
cause
- public PLException(java.lang.String message, PLException cause)
message
- cause
- public PLException(java.lang.String message, java.lang.Throwable cause)
message
- cause
- public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getSQLState()
SQLException.getSQLState()
public int getErrorCode()
SQLException.getErrorCode()
public java.lang.String getAdditionalMessage()
public boolean isOptimistic()
public JDataRow getRow()
public boolean isDuplicate()