org.mmbase.module.core
Class InvalidDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 exceptionfieldName - 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 exceptionfieldName - the name of the field that caused the exception- Since:
- MMBase-1.7
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