public class TokenException extends Exception
| Constructor and Description |
|---|
TokenException(Exception encapsulatedException)
Constructor taking another exception to wrap.
|
TokenException(String message)
Constructor taking an exception message.
|
TokenException(String message,
Exception encapsulatedException)
Constructor taking a message for this exception and another exception to
wrap.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TokenException(String message)
message - The message giving details about the exception to ease
debugging.public TokenException(Exception encapsulatedException)
encapsulatedException - The other exception the wrap into this.public TokenException(String message, Exception encapsulatedException)
message - The message giving details about the exception to ease
debugging.encapsulatedException - The other exception the wrap into this.Copyright © 2023. All rights reserved.