com.businesslink.sgi.api.sef
Class SefEscape
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.businesslink.abl.Escape
|
+--com.businesslink.sgi.api.sef.SefEscape
- public class SefEscape
- extends com.businesslink.abl.Escape
Escape class for the Strategi Event Framework package.
- See Also:
- Serialized Form
Fields inherited from class com.businesslink.abl.Escape |
code,
initialThrowable,
relatedObject |
Constructor Summary |
SefEscape(int cod,
java.lang.String dtl)
|
SefEscape(int cod,
java.lang.String dtl,
java.lang.Object relobj)
|
SefEscape(int cod,
java.lang.String dtl,
java.lang.Object relobj,
java.lang.Throwable inithr)
|
Method Summary |
int |
getCode()
Gets the error code. |
java.lang.String |
getErrorCode()
Gets a string representation of the error code. |
java.lang.String |
getErrorDetail()
Gets the detail error text. |
java.lang.String |
getErrorText()
Gets the base error text in the form "SGIxxxx Base Text". |
java.lang.String |
getMessage()
Gets the full error text in the form "SGIxxxx Base Text (Detail Text)". |
Methods inherited from class com.businesslink.abl.Escape |
getCodedMessage,
getInitialThrowable,
getRelatedObject |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ENONE
public static final int ENONE
ENOTRUN
public static final int ENOTRUN
ENOTAUT
public static final int ENOTAUT
EAPISEQ
public static final int EAPISEQ
EBADVAL
public static final int EBADVAL
EBADPTR
public static final int EBADPTR
EXLTPRP
public static final int EXLTPRP
EXLTDTA
public static final int EXLTDTA
EOPTION
public static final int EOPTION
EFILERR
public static final int EFILERR
ENOTRSP
public static final int ENOTRSP
EBADPRM
public static final int EBADPRM
ERMTERR
public static final int ERMTERR
EINTERN
public static final int EINTERN
SefEscape
public SefEscape(int cod,
java.lang.String dtl)
- Parameters:
cod
- error code.dtl
- detail error text.
SefEscape
public SefEscape(int cod,
java.lang.String dtl,
java.lang.Object relobj)
- Parameters:
cod
- error code.dtl
- detail error text.relobj
- related object.
SefEscape
public SefEscape(int cod,
java.lang.String dtl,
java.lang.Object relobj,
java.lang.Throwable inithr)
- Parameters:
cod
- error code.dtl
- detail error text.relobj
- related object.inithr
- initial Throwable.
getCode
public int getCode()
- Gets the error code.
- Overrides:
- getCode in class com.businesslink.abl.Escape
- Returns:
- error code.
getMessage
public java.lang.String getMessage()
- Gets the full error text in the form "SGIxxxx Base Text (Detail Text)".
- Overrides:
- getMessage in class java.lang.Throwable
- Returns:
- full error text.
getErrorCode
public java.lang.String getErrorCode()
- Gets a string representation of the error code. Certain error codes are mapped to special
textual error strings; for example ENOTRUN (4501) is mapped to "*NOHANDLER". If a code is
not specially mapped, "*ERROR" is returned.
- Returns:
- string representation of the error code.
getErrorText
public java.lang.String getErrorText()
- Gets the base error text in the form "SGIxxxx Base Text". The detail error text is omitted.
- Returns:
- base error text.
getErrorDetail
public java.lang.String getErrorDetail()
- Gets the detail error text.
- Returns:
- detail error text.