Package com.dnanexus.exceptions
Class PermissionDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.dnanexus.exceptions.DXAPIException
-
- com.dnanexus.exceptions.PermissionDeniedException
-
- All Implemented Interfaces:
Serializable
public class PermissionDeniedException extends DXAPIException
The client has insufficient permissions to perform this action.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionDeniedException(String message, int statusCode)Creates aPermissionDeniedExceptionwith 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
-
PermissionDeniedException
public PermissionDeniedException(String message, int statusCode)
Creates aPermissionDeniedExceptionwith the specified message and HTTP status code.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classDXAPIException
-
-