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:
- Serializable
public class InvalidDataException
- extends Exception
Is thrown when user sends invalid data to the server.
- Author:
- cutmasta
- See Also:
- Serialized Form
InvalidDataException
public InvalidDataException()
InvalidDataException
public InvalidDataException(String message)
- Parameters:
message
-
InvalidDataException
public InvalidDataException(Throwable cause)
- Parameters:
cause
-
InvalidDataException
public InvalidDataException(String message,
Throwable cause)
- Parameters:
message
- cause
-
getFieldnames
public final ArrayList<String> getFieldnames()
- Set the fieldname which are not correct in the object
- Returns:
setFieldnames
public final void setFieldnames(ArrayList<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 String getObjectname()
- Get the Name of the object which is affected by this exception
- Returns:
setObjectname
public final void setObjectname(String objectname)
- Parameters:
objectname
-
toString
public String toString()
- Overrides:
toString
in class Throwable