com.openexchange.admin.rmi.exceptions
Class InvalidDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.openexchange.admin.rmi.exceptions.InvalidDataException
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidDataException
- extends java.lang.Exception
Is thrown when user sends invalid data to the server.
- Author:
- cutmasta
- See Also:
- Serialized Form
Method Summary |
java.util.ArrayList<java.lang.String> |
getFieldnames()
Set the fieldname which are not correct in the object |
java.lang.String |
getObjectname()
Get the Name of the object which is affected by this exception |
void |
setFieldnames(java.util.ArrayList<java.lang.String> fieldnames)
Get the fieldnames of the object which aren't correct (maybe null if no fieldnames can be specified) |
void |
setObjectname(java.lang.String objectname)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidDataException
public InvalidDataException()
InvalidDataException
public InvalidDataException(java.lang.String message)
- Parameters:
message
-
InvalidDataException
public InvalidDataException(java.lang.Throwable cause)
- Parameters:
cause
-
InvalidDataException
public InvalidDataException(java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message
- cause
-
getFieldnames
public final java.util.ArrayList<java.lang.String> getFieldnames()
- Set the fieldname which are not correct in the object
- Returns:
setFieldnames
public final void setFieldnames(java.util.ArrayList<java.lang.String> fieldnames)
- Get the fieldnames of the object which aren't correct (maybe null if no fieldnames can be specified)
- Parameters:
fieldnames
-
getObjectname
public final java.lang.String getObjectname()
- Get the Name of the object which is affected by this exception
- Returns:
setObjectname
public final void setObjectname(java.lang.String objectname)
- Parameters:
objectname
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable