public class PinRuleException extends IdpException
PinRule is broken.| Constructor and Description |
|---|
PinRuleException(PinRule offendingRule)
Creates an exception with the
PinRule that rejected the PIN. |
PinRuleException(PinRule offendingRule,
java.lang.String message,
java.lang.Object... args)
Creates an exception with the
PinRule that rejected the PIN and
an error message. |
PinRuleException(PinRule offendingRule,
java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args)
Creates an exception with the
PinRule that rejected the PIN,
preserve the exception stack trace, an error message. |
| Modifier and Type | Method and Description |
|---|---|
PinRule |
getOffendingPinRule()
Get rule that caused the exception
|
getCode, getDomainpublic PinRuleException(PinRule offendingRule)
PinRule that rejected the PIN.offendingRule - the rule that caused the exception. This may be
used to inform the user why the PIN was rejected.public PinRuleException(PinRule offendingRule, java.lang.String message, java.lang.Object... args)
PinRule that rejected the PIN and
an error message.offendingRule - the rule that caused the exception. This may be
used to inform the user why the PIN was rejected.message - message following String.format(String,
Object...) syntaxargs - optional formatting argumentspublic PinRuleException(PinRule offendingRule, java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)
PinRule that rejected the PIN,
preserve the exception stack trace, an error message.offendingRule - the rule that caused the exception. This may be
used to inform the user why the PIN was rejected.cause - the nested exceptionmessage - message following String.format(String,
Object...) syntaxargs - optional formatting argumentspublic PinRule getOffendingPinRule()