org.knime.core.data.container
Class DataContainerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.knime.core.data.container.DataContainerException
All Implemented Interfaces:
Serializable

public class DataContainerException
extends RuntimeException

Exception that may be thrown by a DataContainer if the data is invalid. This can be, e.g. null values, incompatible types, duplicate keys, ill-sized rows.

This exception has typically a cause being set, which indicates the true origin of the problem. This class wraps these errors because the data is possibly written asynchronously, i.e. the error may occur later than it is actually caused.

Author:
Bernd Wiswedel, University of Konstanz
See Also:
Serialized Form

Constructor Summary
DataContainerException(String message)
          Creates new exception without specific cause.
DataContainerException(String message, Throwable cause)
          Creates new exception with a given cause.
 
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

DataContainerException

DataContainerException(String message)
Creates new exception without specific cause.

Parameters:
message - The message of the exception.

DataContainerException

DataContainerException(String message,
                       Throwable cause)
Creates new exception with a given cause.

Parameters:
message - The message of the exception.
cause - The cause of the problem.


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.