|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.genesyslab.ail.exception.RequestFailedException
com.genesyslab.ail.exception.PreconditionException
com.genesyslab.ail.exception.InvalidParameterException
public class InvalidParameterException
Exception thrown when a parameter in a request was incorrect.
| Constructor Summary | |
|---|---|
InvalidParameterException(java.lang.String name,
java.lang.Object value,
java.lang.String comment)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getParamName()
Returns the name of the bad parameter. |
java.lang.Object |
getParamValue()
Returns the bad value of the parameter. |
| 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 |
| Constructor Detail |
|---|
public InvalidParameterException(java.lang.String name,
java.lang.Object value,
java.lang.String comment)
name - the name of the parametervalue - the value of the parametercomment - comments for this exception| Method Detail |
|---|
public java.lang.String getParamName()
public java.lang.Object getParamValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||