org.mmbase.module.core
Class InvalidDataException

Package class diagram package InvalidDataException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mmbase.module.core.InvalidDataException
All Implemented Interfaces:
Serializable

public class InvalidDataException
extends Exception

This exception gets thrown when a node contains invalid data.

Version:
$Id: InvalidDataException.java 34900 2009-05-01 16:29:42Z michiel $
Author:
Pierre van Rooden
See Also:
Serialized Form

Constructor Summary
InvalidDataException()
           
InvalidDataException(String message)
           
InvalidDataException(String message, String fieldName)
          Create the exception.
InvalidDataException(String message, Throwable cause)
           
InvalidDataException(Throwable cause)
           
InvalidDataException(Throwable cause, String fieldName)
          Create the exception.
 
Method Summary
 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(String message)

InvalidDataException

public InvalidDataException(Throwable cause)

InvalidDataException

public InvalidDataException(String message,
                            Throwable cause)

InvalidDataException

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

Parameters:
message - a description of the exception
fieldName - the name of the field that caused the exception

InvalidDataException

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

Parameters:
cause - Throwable the cause of the exception
fieldName - the name of the field that caused the exception
Since:
MMBase-1.7
Method Detail

getInvalidFieldName

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

Returns:
the field name as a String


MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36