Package io.aeron.security
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.aeron.exceptions.AeronException
io.aeron.security.AuthenticationException
- All Implemented Interfaces:
Serializable
Used to indicate a failed authentication attempt when connecting to a system.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.aeron.exceptions.AeronException
AeronException.Category -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault exception asAeronException.Category.ERROR.AuthenticationException(String message) Authentication exception with provided message andAeronException.Category.ERROR.AuthenticationException(String message, Throwable cause) Authentication exception with a detailed message and cause.protectedAuthenticationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new Authentication exception with a detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled, in the categoryAeronException.Category.ERROR.AuthenticationException(Throwable cause) Authentication exception with provided cause andAeronException.Category.ERROR. -
Method Summary
Methods inherited from class io.aeron.exceptions.AeronException
category, isFatalMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
public AuthenticationException()Default exception asAeronException.Category.ERROR. -
AuthenticationException
Authentication exception with provided message andAeronException.Category.ERROR.- Parameters:
message- to detail the exception.
-
AuthenticationException
Authentication exception with provided cause andAeronException.Category.ERROR.- Parameters:
cause- of the error.
-
AuthenticationException
Authentication exception with a detailed message and cause.- Parameters:
message- providing detail on the error.cause- of the error.
-
AuthenticationException
protected AuthenticationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new Authentication exception with a detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled, in the categoryAeronException.Category.ERROR.- Parameters:
message- providing detail on the error.cause- of the error.enableSuppression- is suppression enabled or not.writableStackTrace- is the stack trace writable or not.
-