Methods Summary |
---|
public boolean | getBoolean(boolean v)
return v;
|
public boolean[] | getBooleanArray(boolean[] v)
return v;
|
public byte | getByte(byte v)
return v;
|
public byte[] | getByteArray(byte[] v)
return v;
|
public short | getChannel()
return DataTestApplet.channel;
|
public short | getChannelId()
return ids[DataTestApplet.channel];
|
public byte[] | getNewArray(short length)
return new byte[(short) length];
|
public Remote1 | getReference1()
return null;
|
public java.rmi.Remote | getReference2()
return null;
|
public short | getShort(short v)
return v;
|
public short[] | getShortArray(short[] v)
return v;
|
public void | setChannelId(short id)
ids[DataTestApplet.channel] = id;
|
public void | throwException(short code)
switch (code) {
case 0: throw new java.lang.Throwable();
case 1: throw new java.lang.ArithmeticException();
case 2: throw new java.lang.ArrayIndexOutOfBoundsException();
case 3: throw new java.lang.ArrayStoreException();
case 4: throw new java.lang.ClassCastException();
case 5: throw new java.lang.Exception();
case 6: throw new java.lang.IndexOutOfBoundsException();
case 7: throw new java.lang.NegativeArraySizeException();
case 8: throw new java.lang.NullPointerException();
case 9: throw new java.lang.RuntimeException();
case 10: throw new java.lang.SecurityException();
case 11: throw new java.io.IOException();
case 12: throw new java.rmi.RemoteException();
case 13: throw new javacard.framework.APDUException(reason);
case 14: throw new javacard.framework.CardException(reason);
case 15: throw new javacard.framework.CardRuntimeException(reason);
case 16: throw new javacard.framework.ISOException(reason);
case 17: throw new javacard.framework.PINException(reason);
case 18: throw new javacard.framework.SystemException(reason);
case 19: throw new javacard.framework.TransactionException(reason);
case 20: throw new javacard.framework.UserException(reason);
case 21: throw new javacard.security.CryptoException(reason);
case 22: throw new javacard.framework.service.ServiceException(reason);
}
|
public void | throwSubclass(short code)
switch (code) {
case 0: throw new Throwable_();
case 1: throw new ArithmeticException_();
case 2: throw new ArrayIndexOutOfBoundsException_();
case 3: throw new ArrayStoreException_();
case 4: throw new ClassCastException_();
case 5: throw new Exception_();
case 6: throw new IndexOutOfBoundsException_();
case 7: throw new NegativeArraySizeException_();
case 8: throw new NullPointerException_();
case 9: throw new RuntimeException_();
case 10: throw new SecurityException_();
case 11: throw new IOException_();
case 12: throw new RemoteException_();
case 13: throw new APDUException_(reason);
case 14: throw new CardException_(reason);
case 15: throw new CardRuntimeException_(reason);
case 16: throw new ISOException_(reason);
case 17: throw new PINException_(reason);
case 18: throw new SystemException_(reason);
case 19: throw new TransactionException_(reason);
case 20: throw new UserException_(reason);
case 21: throw new CryptoException_(reason);
case 22: throw new ServiceException_(reason);
}
|
public void | voidMethod()
|