textbender.g.lang
Class ThrowableHolder1

java.lang.Object
  extended by ThrowableHolder1
All Implemented Interfaces:
ThrowableHolder

public class ThrowableHolder1
extends Object
implements ThrowableHolder

Basic implementation of a throwable holder.


Constructor Summary
ThrowableHolder1()
          Creates a ThrowableHolder1.
ThrowableHolder1(Throwable throwable)
          Creates a ThrowableHolder1.
 
Method Summary
 Throwable getThrowable()
          Returns the throwable held.
 void setThrowable(Throwable throwable)
          Sets the throwable held.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableHolder1

public ThrowableHolder1()
Creates a ThrowableHolder1.


ThrowableHolder1

public ThrowableHolder1(Throwable throwable)
Creates a ThrowableHolder1.

Parameters:
throwable - per getThrowable()
Method Detail

getThrowable

public Throwable getThrowable()
Returns the throwable held.

Specified by:
getThrowable in interface ThrowableHolder
See Also:
setThrowable(java.lang.Throwable)

setThrowable

public void setThrowable(Throwable throwable)
Sets the throwable held.

See Also:
getThrowable()