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.
- 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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidDataException
public InvalidDataException()
- Create the exception.
InvalidDataException
public InvalidDataException(java.lang.String message)
- Create the exception.
- Parameters:
message - a description of the exception
InvalidDataException
public InvalidDataException(java.lang.String message,
java.lang.String fieldName)
- Create the exception.
- Parameters:
message - a description of the exceptionfieldMame - the name of the field that caused the exception
getInvalidFieldName
public java.lang.String getInvalidFieldName()
- Retrieved the name of the field that caused the exception
- Returns:
- the field name as a String
MMBase 2001