Class RestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.labs64.netlicensing.exception.NetLicensingException
com.labs64.netlicensing.exception.RestException
- All Implemented Interfaces:
Serializable
The Class RestException can be used in cases where no checked exception can be thrown (e.g. 3pp interfaces
implementation).
- See Also:
-
Constructor Summary
ConstructorDescriptionRestException
(String msg) Construct aRestException
with the specified detail message.RestException
(String msg, Throwable cause) Construct aRestException
with the specified detail message and cause exception. -
Method Summary
Methods inherited from class com.labs64.netlicensing.exception.NetLicensingException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestException
Construct aRestException
with the specified detail message.- Parameters:
msg
- the detail message
-
RestException
Construct aRestException
with the specified detail message and cause exception.- Parameters:
msg
- the detail messagecause
- the cause exception
-