org.filteredpush.mapper.exception
Class InvalidParameter
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.filteredpush.mapper.exception.InvalidParameter
- All Implemented Interfaces:
- java.io.Serializable
public class InvalidParameter
- extends java.lang.Exception
An exception indicating invalid parameters for local data source query or update.
E.g. the specify instance doesn't allow to insert an taxon with the the same scientific name but different authorship with an existing record.
If such problem happens, the InvalidParameter exception will be thrown out containing the candidate value for user to choose.
- Author:
- Lei Dou
$Id:$
- See Also:
- Serialized Form
|
Constructor Summary |
InvalidParameter(java.lang.String message,
java.lang.String fieldName)
|
InvalidParameter(java.lang.String message,
java.lang.String fieldName,
java.util.List<java.lang.String> options)
|
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidParameter
public InvalidParameter(java.lang.String message,
java.lang.String fieldName)
InvalidParameter
public InvalidParameter(java.lang.String message,
java.lang.String fieldName,
java.util.List<java.lang.String> options)
getFieldName
public java.lang.String getFieldName()
getOptions
public java.util.List<java.lang.String> getOptions()