FileDocCategorySizeDatePackage
UserException.javaAPI DocphoneME MR2 API (J2ME)1847Wed May 02 18:00:40 BST 2007javacard.framework

UserException

public class UserException extends CardException
UserException represents a user exception.

Fields Summary
Constructors Summary
public UserException()
Constructs a UserException with reason = 0.

	this((short)0);
    
public UserException(short reason)
Constructs a UserException with the specified reason.

param
reason the reason for the exception.

	super(reason);
    
Methods Summary
public static voidthrowIt(short reason)
Throws an instance of UserException with the specified reason.

param
reason the reason for the exception
exception
UserException always

	throw new UserException(reason);