edu.ksu.cis.projects.bogor.module.throwable
Class ExceptionThrownBogorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.ksu.cis.projects.bogor.module.throwable.BogorException
                  extended by edu.ksu.cis.projects.bogor.module.throwable.ExceptionThrownBogorException
All Implemented Interfaces:
Disposable, Serializable

public class ExceptionThrownBogorException
extends BogorException

Represents a thrown exception.

Version:
CVS $Revision: 1.2 $ $Date: 2004/02/25 02:40:37 $
Author:
Robby
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.ksu.cis.projects.bogor.module.throwable.BogorException
node
 
Constructor Summary
ExceptionThrownBogorException(boolean isDefined, String throwableName, IRecordValue throwableValue)
          Default constructor.
 
Method Summary
 void dispose()
          Remove references.
 String getThrowableName()
          Gets the throwable record id.
 IRecordValue getThrowableValue()
          Gets the throwable record value.
 boolean isDefined()
          Determines whether the exception thrown is defined.
 
Methods inherited from class edu.ksu.cis.projects.bogor.module.throwable.BogorException
getNode, setNode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionThrownBogorException

public ExceptionThrownBogorException(boolean isDefined,
                                     String throwableName,
                                     IRecordValue throwableValue)
Default constructor.

Parameters:
isDefined - Indicates whether the exception thrown is defined.
throwableName - The throwable record id. Must be non-null.
throwableValue - The throwable record value.
Method Detail

isDefined

public boolean isDefined()
Determines whether the exception thrown is defined.

Returns:
True, if the exception thrown is defined. False, otherwise.

getThrowableName

public String getThrowableName()
Gets the throwable record id.

Returns:
The throwable record id. Non-null.

getThrowableValue

public IRecordValue getThrowableValue()
Gets the throwable record value.

Returns:
The throwable record value.

dispose

public void dispose()
Description copied from interface: Disposable
Remove references. Once called, avoid using this object.

Specified by:
dispose in interface Disposable
Overrides:
dispose in class BogorException