org.mmbase.module.core
Class InvalidDataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.mmbase.module.core.InvalidDataException
All Implemented Interfaces:
java.io.Serializable

public class InvalidDataException
extends java.lang.Exception

This exception gets thrown when a node contains invalid data.

Version:
$Id: InvalidDataException.java,v 1.5 2003/09/04 11:05:33 pierre Exp $
Author:
Pierre van Rooden
See Also:
Serialized Form

Constructor Summary
InvalidDataException()
           
InvalidDataException(java.lang.String message)
           
InvalidDataException(java.lang.String message, java.lang.String fieldName)
          Create the exception.
InvalidDataException(java.lang.String message, java.lang.Throwable cause)
           
InvalidDataException(java.lang.Throwable cause)
           
InvalidDataException(java.lang.Throwable cause, java.lang.String fieldName)
          Create the exception.
 
Method Summary
 java.lang.String getInvalidFieldName()
          Retrieved the name of the field that caused the exception
 
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

InvalidDataException

public InvalidDataException()

InvalidDataException

public InvalidDataException(java.lang.String message)

InvalidDataException

public InvalidDataException(java.lang.Throwable cause)

InvalidDataException

public InvalidDataException(java.lang.String message,
                            java.lang.Throwable cause)

InvalidDataException

public InvalidDataException(java.lang.String message,
                            java.lang.String fieldName)
Create the exception.

Parameters:
message - a description of the exception

InvalidDataException

public InvalidDataException(java.lang.Throwable cause,
                            java.lang.String fieldName)
Create the exception. The cause can be retrieved with getCause().

Method Detail

getInvalidFieldName

public java.lang.String getInvalidFieldName()
Retrieved the name of the field that caused the exception

Returns:
the field name as a String


MMBase build 1.7.1.20041002