Package org.gcube.oidc.rest
Class OpenIdConnectRESTHelperException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.oidc.rest.OpenIdConnectRESTHelperException
-
- All Implemented Interfaces:
Serializable
public class OpenIdConnectRESTHelperException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenIdConnectRESTHelperException(String message)OpenIdConnectRESTHelperException(String message, Exception cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenIdConnectRESTHelperExceptioncreate(String message, int status, String contentType, String textResponse)StringgetContentType()StringgetResponseString()intgetStatus()booleanhasJSONPayload()voidsetContentType(String contentType)voidsetResponseString(String responseString)voidsetStatus(int status)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
create
public static OpenIdConnectRESTHelperException create(String message, int status, String contentType, String textResponse)
-
setStatus
public void setStatus(int status)
-
getStatus
public int getStatus()
-
setContentType
public void setContentType(String contentType)
-
getContentType
public String getContentType()
-
hasJSONPayload
public boolean hasJSONPayload()
-
setResponseString
public void setResponseString(String responseString)
-
getResponseString
public String getResponseString()
-
-