|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.common.SDBError
public class SDBError
Field Summary | |
---|---|
static int |
AlwaysThrow
|
protected SDBException |
exceptionObject
|
static int |
Fatal
|
static int |
NeverThrow
|
static int |
Recoverable
|
protected int |
throwerIndex
|
static int |
ThrowFatalOnly
|
static int |
Warning
|
Constructor Summary | |
---|---|
protected |
SDBError(int errorLevel,
SDBException sdbex)
Constructor sets the error level for a particular error instance. |
|
SDBError(int errorLevel,
java.lang.String message)
Constructor sets the error level for a particular error instance. |
Method Summary | |
---|---|
static int |
getErrorReportingLevel()
|
protected void |
logError(SDBException sdbex)
Log the error message. |
static void |
setErrorReportingLevel(int level)
The Error Reporting Level determines when to raise an exception for an error. |
protected boolean |
shouldThrowException()
Returns true if this instance of SDBError should throw an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AlwaysThrow
public static final int ThrowFatalOnly
public static final int NeverThrow
public static final int Fatal
public static final int Recoverable
public static final int Warning
protected SDBException exceptionObject
protected int throwerIndex
Constructor Detail |
---|
public SDBError(int errorLevel, java.lang.String message)
protected SDBError(int errorLevel, SDBException sdbex)
Method Detail |
---|
public static void setErrorReportingLevel(int level)
public static int getErrorReportingLevel()
protected boolean shouldThrowException()
protected void logError(SDBException sdbex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |