Package net.solarnetwork.ocpp.service
Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.solarnetwork.ocpp.service.AuthorizationException
- All Implemented Interfaces:
Serializable
Authorization related exception.
- Version:
- 1.1
- Author:
- matt
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationException(String message, AuthorizationInfo info) Constructor.AuthorizationException(String message, AuthorizationInfo info, Integer transactionId) Constructor.Constructor.AuthorizationException(AuthorizationInfo info, Integer transactionId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()Get the authorization info.Get the optional transaction ID.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizationException
Constructor.- Parameters:
info- the authorization info
-
AuthorizationException
Constructor.- Parameters:
message- a messageinfo- the authorization info
-
AuthorizationException
Constructor.- Parameters:
info- the authorization infotransactionId- the optional transaction ID- Since:
- 1.1
-
AuthorizationException
Constructor.- Parameters:
message- a messageinfo- the authorization infotransactionId- the optional transaction ID- Since:
- 1.1
-
-
Method Details
-
getInfo
Get the authorization info.- Returns:
- the info
-
getTransactionId
Get the optional transaction ID.- Returns:
- the transaction ID
- Since:
- 1.1
-