|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.messages.ServerMessage
be.SIRAPRISE.messages.ServerErrorMessage
public abstract class ServerErrorMessage
A ServerErrorMessage is any kind of message holding an indication that some kind of error has occurred on the server side. It can be subclassed to create "classes of server errors", each with their own specifics.
Method Summary | |
---|---|
java.lang.String |
getClientResponseText()
Gets The response text to be shown to the client/user |
abstract java.lang.String |
getErrorClass()
Gets a description of the error class |
long |
getErrorNumber()
Gets The error number, whether a constraint number, a sira-prise runtime error, or a nil |
java.lang.String |
getOriginalExceptionMessage()
Gets the server's original exception message |
boolean |
isFatal()
Gets a flag indicating whether the error was 'fatal', i.e. whether the server has aborted its side of the transaction as a consequence of the error |
Methods inherited from class be.SIRAPRISE.messages.ServerMessage |
---|
getMessageTypeID, readMessage, sendMessage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final java.lang.String getClientResponseText()
public abstract java.lang.String getErrorClass()
public final long getErrorNumber()
public final java.lang.String getOriginalExceptionMessage()
public final boolean isFatal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |