Package com.dnanexus.exceptions
Class InvalidInputException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.dnanexus.exceptions.DXAPIException
-
- com.dnanexus.exceptions.InvalidInputException
-
- All Implemented Interfaces:
Serializable
public class InvalidInputException extends DXAPIException
The input is syntactically correct but semantically incorrect.For example, a JSON array is provided where a hash was required, or a required parameter is missing, etc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidInputException(String message, int statusCode)Creates anInvalidInputExceptionwith the specified message and HTTP status code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class com.dnanexus.exceptions.DXAPIException
getInstance, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
InvalidInputException
public InvalidInputException(String message, int statusCode)
Creates anInvalidInputExceptionwith the specified message and HTTP status code.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classDXAPIException
-
-