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,
String message,
Object... args)
Creates an exception with the
PinRule that rejected the PIN and
an error message. |
PinRuleException(PinRule offendingRule,
Throwable cause,
String message,
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, getDomain
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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, String message, 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, Throwable cause, String message, 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()