public interface FwkExceptionInterface extends FwkPresentationInterface
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
Constant identifier to generate EXTERNAL_ERROR exception.
|
static int |
INFORMATIONAL
Constant identifier to generate EXTERNAL_INFORMATION exception.
|
static int |
WARNING
Constant identifier to generate EXTERNAL_WARNING exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Get the sourcecode filename of the exception.
|
java.lang.String |
getCodeVersion()
Get the revision of the sourcecode file of the exception.
|
java.lang.String |
getFilename()
Get the current exception source filename.
|
java.lang.String |
getIdent()
Get the current ident of the exception.
|
int |
getNumber()
Get the error number of the exception.
|
java.lang.String |
getParameter()
Get the parameter string of the exception.
|
java.lang.Object |
getSourceObject()
Get the source object of the exception.
|
java.lang.Throwable |
getSourceThrowable()
Get the source throwable of the exception.
|
void |
setClassName(java.lang.String className)
Set the class name of the source of the exception.
|
void |
setCodeVersion(java.lang.String newVersion)
Set the revision of the sourcecode file of the exception.
|
void |
setFilename(java.lang.String newFilename)
Set the filename where the exception was thrown.
|
void |
setIdent(java.lang.String newIdent)
Set the identification of the exception.
|
void |
setNumber(int number)
Set the error number of the exception.
|
void |
setParameter(java.lang.String newParameter)
Set the parameter string of the exception.
|
void |
setSourceObject(java.lang.Object srcObject)
Set the source object of the exception.
|
void |
setSourceThrowable(java.lang.Throwable srcThrowable)
Set the source throwable of the exception.
|
void |
write()
Write the exception.
|
getPresentationString, getPresentationString
getVersion, release
static final int INFORMATIONAL
static final int WARNING
static final int ERROR
java.lang.String getClassName()
setFilename
java.lang.String getCodeVersion()
setCodeVersion
java.lang.String getFilename()
setFilename
java.lang.String getIdent()
setIdent
int getNumber()
setNumber
java.lang.String getParameter()
setParamter
java.lang.Throwable getSourceThrowable()
setSourceThrowable
java.lang.Object getSourceObject()
setSourceObject
void setClassName(java.lang.String className)
filename
- The source class name of the exception.getFilename
void setCodeVersion(java.lang.String newVersion)
revision
- The version of the code file.getCodeVersion
void setFilename(java.lang.String newFilename)
filename
- The name of the file.getFilename
void setIdent(java.lang.String newIdent)
ident
- The new uniq identifier of the exception.getIdent
void setNumber(int number)
number
- The new error number of the exception.getNumber
void setParameter(java.lang.String newParameter)
parameter
- The new parameter string of the exception.getParameter
void setSourceObject(java.lang.Object srcObject)
srcObject
- The source object of the exception.getSourceObject
void setSourceThrowable(java.lang.Throwable srcThrowable)
srcThrowable
- The source throwable of the exception.getSourceThrowable
void write()