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
ConstructorsConstructorDescriptionRestException(String msg) Construct aRestExceptionwith the specified detail message.RestException(String msg, Throwable cause) Construct aRestExceptionwith the specified detail message and cause exception. -
Method Summary
Methods inherited from class com.labs64.netlicensing.exception.NetLicensingException
contains, getMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestException
Construct aRestExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
RestException
Construct aRestExceptionwith the specified detail message and cause exception.- Parameters:
msg- the detail messagecause- the cause exception
-