Class HvlAuthzException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tr.com.havelsan.javarch.exception.HvlUncheckedException
tr.com.havelsan.javarch.oauth.authz.cloud.client.exception.HvlAuthzException
- All Implemented Interfaces:
Serializable
,tr.com.havelsan.javarch.exception.HvlException
@HvlFeignClientError
public class HvlAuthzException
extends tr.com.havelsan.javarch.exception.HvlUncheckedException
HvlAuthzException is thrown with errorCode and errorMessage when unauthorized error occurs.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlAuthzException.HvlAuthzException
(String message) Instantiates a new HvlAuthzException.HvlAuthzException
(String errorCode, String message) Instantiates a new HvlAuthzException.HvlAuthzException
(String errorCode, String message, Throwable t) Instantiates a new HvlAuthzException.HvlAuthzException
(tr.com.havelsan.javarch.exception.model.HvlErrorDetail errorDetail) Instantiates a new HvlAuthzException.HvlAuthzException
(tr.com.havelsan.javarch.exception.model.HvlErrorDetail errorDetail, Throwable t) Instantiates a new HvlAuthzException. -
Method Summary
Methods inherited from class tr.com.havelsan.javarch.exception.HvlUncheckedException
getErrorDetail, setErrorDetail
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
- See Also:
-
ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
HvlAuthzException
public HvlAuthzException()Instantiates a new HvlAuthzException. -
HvlAuthzException
Instantiates a new HvlAuthzException.- Parameters:
message
- the message
-
HvlAuthzException
public HvlAuthzException(tr.com.havelsan.javarch.exception.model.HvlErrorDetail errorDetail) Instantiates a new HvlAuthzException.- Parameters:
errorDetail
- the error detail
-
HvlAuthzException
Instantiates a new HvlAuthzException.- Parameters:
errorCode
- the error codemessage
- the message
-
HvlAuthzException
Instantiates a new HvlAuthzException.- Parameters:
errorCode
- the error codemessage
- the messaget
- the t
-
HvlAuthzException
public HvlAuthzException(tr.com.havelsan.javarch.exception.model.HvlErrorDetail errorDetail, Throwable t) Instantiates a new HvlAuthzException.- Parameters:
errorDetail
- the error detailt
- the t
-