org.mmbase.module.core
Class InvalidDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.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
|
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 |
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().
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.4.20050922