Package org.openhab.core.auth
Class UnsupportedCredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.auth.SecurityException
org.openhab.core.auth.AuthenticationException
org.openhab.core.auth.UnsupportedCredentialsException
- All Implemented Interfaces:
Serializable
A dedicated exception thrown when extracted credentials can not be matched with any authentication provider.
This can usually happen when configuration is somewhat wrong. In order to make debugging easier a separate exception
is created.
- Author:
- Ćukasz Dywicki - Initial contribution
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedCredentialsException
(String message) Creates a new exception instance.UnsupportedCredentialsException
(String message, Throwable cause) Creates a new exception instance.Creates a new exception instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedCredentialsException
Creates a new exception instance.- Parameters:
message
- exception message
-
UnsupportedCredentialsException
Creates a new exception instance.- Parameters:
cause
- exception cause
-
UnsupportedCredentialsException
Creates a new exception instance.- Parameters:
message
- exception messagecause
- exception cause
-