com.openexchange.admin.rmi.exceptions
Class InvalidDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
InvalidDataException()
           
InvalidDataException(String message)
           
InvalidDataException(String message, Throwable cause)
           
InvalidDataException(Throwable cause)
           
 
Method Summary
 ArrayList<String> getFieldnames()
          Set the fieldname which are not correct in the object
 String getObjectname()
          Get the Name of the object which is affected by this exception
 void setFieldnames(ArrayList<String> fieldnames)
          Get the fieldnames of the object which aren't correct (maybe null if no fieldnames can be specified)
 void setObjectname(String objectname)
           
 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
 

Constructor Detail

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 -
Method Detail

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