org.das2.system
Class ThrowRuntimeExceptionHandler

java.lang.Object
  extended by org.das2.system.ThrowRuntimeExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class ThrowRuntimeExceptionHandler
extends java.lang.Object
implements ExceptionHandler

ExceptionHandler that throws a RuntimeException caused by the Exception. This is useful for server-side applications that need to handle the exception externally.


Constructor Summary
ThrowRuntimeExceptionHandler()
          Creates a new instance of NullExceptionHandler
 
Method Summary
 void handle(java.lang.Throwable t)
           
 void handleUncaught(java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowRuntimeExceptionHandler

public ThrowRuntimeExceptionHandler()
Creates a new instance of NullExceptionHandler

Method Detail

handle

public void handle(java.lang.Throwable t)
Specified by:
handle in interface ExceptionHandler

handleUncaught

public void handleUncaught(java.lang.Throwable t)
Specified by:
handleUncaught in interface ExceptionHandler