public class UserException extends CardException
UserException represents a user exception.| Constructor and Description |
|---|
UserException()
Constructs a
UserException with reason = 0. |
UserException(short reason)
Constructs a
UserException with the specified reason. |
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIt(short reason)
Throws an instance of
UserException with the
specified reason. |
getReason, setReasonpublic UserException()
UserException with reason = 0.public UserException(short reason)
UserException with the specified reason.reason - the reason for the exception.public static void throwIt(short reason)
throws UserException
UserException with the
specified reason.reason - the reason for the exceptionUserException - alwaysCopyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.