diamondedge.util
Class RuntimeError
java.lang.Object
java.lang.Throwable
java.lang.Exception
diamondedge.util.RuntimeError
- All Implemented Interfaces:
- Serializable
public class RuntimeError
- extends Exception
- See Also:
- Serialized Form
errorNumber
protected int errorNumber
source
protected String source
nativeError
protected Throwable nativeError
overriden_description
protected String overriden_description
RuntimeError
public RuntimeError()
RuntimeError
public RuntimeError(int Number,
String Source,
String Description)
RuntimeError
public RuntimeError(Throwable err)
getDescription
public String getDescription()
- Returns a descriptive string associated with the last error
set in this thread.
setDescription
public void setDescription(String newDescription)
- Overrides the original description with a new descriptive string.
toString
public String toString()
- Overrides:
toString
in class Throwable
getNumber
public int getNumber()
- Returns or sets a numeric value representing an error
setNumber
public void setNumber(int err)
getSource
public String getSource()
- Returns or sets the name of the object that originated the error
setSource
public void setSource(String s)
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable
Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.