org.knime.core.node.util
Class InvocationTargetRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.knime.core.node.util.InvocationTargetRuntimeException
All Implemented Interfaces:
Serializable

public class InvocationTargetRuntimeException
extends RuntimeException

Thrown by the methods in the ViewUtils class that execute code in the Event Dispatch Thread, if the executed code throws an exception. The original exception of the executed code can be retrieved through the Throwable.getCause() method.

Author:
ohl, University of Konstanz
See Also:
Serialized Form

Constructor Summary
InvocationTargetRuntimeException(String msg, Throwable cause)
          Creates a new exception, wrapping the cause in a runtime exception.
 
Method Summary
 
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

InvocationTargetRuntimeException

InvocationTargetRuntimeException(String msg,
                                 Throwable cause)
Creates a new exception, wrapping the cause in a runtime exception.

Parameters:
msg - the message for the wrapper
cause - the original exception, must not be null
Throws:
NullPointerException - if the specified cause is null


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.