Diamond Control Suite 3.0

diamondedge.util
Class RuntimeError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by diamondedge.util.RuntimeError
All Implemented Interfaces:
Serializable

public class RuntimeError
extends Exception

See Also:
Serialized Form

Field Summary
protected  int errorNumber
           
protected  Throwable nativeError
           
protected  String overriden_description
           
protected  String source
           
 
Constructor Summary
RuntimeError()
           
RuntimeError(int Number, String Source, String Description)
           
RuntimeError(Throwable err)
           
 
Method Summary
 String getDescription()
          Returns a descriptive string associated with the last error set in this thread.
 int getNumber()
          Returns or sets a numeric value representing an error
 String getSource()
          Returns or sets the name of the object that originated the error
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 void setDescription(String newDescription)
          Overrides the original description with a new descriptive string.
 void setNumber(int err)
           
 void setSource(String s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorNumber

protected int errorNumber

source

protected String source

nativeError

protected Throwable nativeError

overriden_description

protected String overriden_description
Constructor Detail

RuntimeError

public RuntimeError()

RuntimeError

public RuntimeError(int Number,
                    String Source,
                    String Description)

RuntimeError

public RuntimeError(Throwable err)
Method Detail

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 Control Suite 3.0

Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.