Class LicenseRefusal
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.license.v2.LicenseRefusal
- All Implemented Interfaces:
Serializable
A licence document or key certificate the
LicenseVerifier refuses: the step of LICENSE-V2-DESIGN.md section 2.5 that failed and the reason. The message names the step and the rule and NEVER a byte of the document, so it is safe to log: "failures are logged naming the step, never the document bytes" (2.5). A document failing only step 5 (expiry) is not refused; it is returned as expired.- Author:
- Christopher Mindus
- See Also:
Nested Class Summary
Nested ClassesConstructor Summary
ConstructorsMethod Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
LicenseRefusal
Constructor.- Parameters:
step- The step that refused.reason- The reason: the rule, never a byte of the document.
Method Details
getStep
getReason