Package com.dnanexus.exceptions
Class InvalidAuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.dnanexus.exceptions.DXAPIException
-
- com.dnanexus.exceptions.InvalidAuthenticationException
-
- All Implemented Interfaces:
Serializable
public class InvalidAuthenticationException extends DXAPIException
The OAuth2 token supplied with the request was invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidAuthenticationException(String message, int statusCode)Creates anInvalidAuthenticationExceptionwith 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
-
InvalidAuthenticationException
public InvalidAuthenticationException(String message, int statusCode)
Creates anInvalidAuthenticationExceptionwith the specified message and HTTP status code.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classDXAPIException
-
-