|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object diamondedge.util.Err
public class Err
Method Summary | |
---|---|
static void |
clear()
Clears all property settings of the Err object |
static String |
getDescription()
Returns a descriptive string associated with the last error set in this thread. |
static RuntimeError |
getError()
Get the current exception object cast as a RuntimeError. |
static void |
printStackTrace()
|
static void |
raise(int Number,
String Source,
String Description)
|
static void |
raise(int Number,
String Source,
String Description,
String HelpFile,
int HelpContext)
Generates a run-time error |
static void |
set(Exception e)
Set the current error. |
static void |
set(Exception e,
String clsOrFnName)
Set the current error |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RuntimeError getError()
set(java.lang.Exception)
public static void set(Exception e)
public static void set(Exception e, String clsOrFnName)
e
- error to storeclsOrFnName
- is a string which causes a stack trace to be printed out up to the line where this string is found. If no stack trace is desired then remove the argument.public static String getDescription()
public static void raise(int Number, String Source, String Description, String HelpFile, int HelpContext) throws RuntimeError
RuntimeError
public static void raise(int Number, String Source, String Description) throws RuntimeError
RuntimeError
public static void clear()
public static void printStackTrace()
|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |