@Test public void testUnpackThrowsISOException1() throws Throwable { byte[] b = new byte[2]; try { new ISOField(100, "testISOFieldv").unpack(b); fail("Expected ISOException to be thrown"); } catch (ISOException ex) { assertEquals("Not available on Leaf", ex.getMessage(), "ex.getMessage()"); assertNull(ex.nested, "ex.nested"); } }
@Override public int unpack(byte[] b) throws ISOException { throw new ISOException ("Not available on Leaf"); }
ISOField extends ISOComponent implements Cloneable, Externalizable { @Override public int unpack(byte[] b) throws ISOException { throw new ISOException ("Not available on Leaf"); } }
ISOField extends ISOComponent implements Cloneable, Externalizable { @Override public int unpack(byte[] b) throws ISOException { throw new ISOException ("Not available on Leaf"); } ISOField();  ISOField(int n);  ISOField(int n, String v); }
ISOField extends ISOComponent implements Cloneable, Externalizable { @Override public int unpack(byte[] b) throws ISOException { throw new ISOException ("Not available on Leaf"); } ISOField();  ISOField(int n);  ISOField(int n, String v); @Override byte[] pack(); @Override int unpack(byte[] b); @Override void unpack(InputStream in); @Override Object getKey(); @Override Object getValue(); @Override void setValue(Object obj); @Override byte[] getBytes(); @Override void dump(PrintStream p, String indent); @Override void setFieldNumber(int fieldNumber); @Override int getFieldNumber(); @Override void writeExternal(ObjectOutput out); @Override void readExternal(ObjectInput in); }
ISOField extends ISOComponent implements Cloneable, Externalizable { @Override public int unpack(byte[] b) throws ISOException { throw new ISOException ("Not available on Leaf"); } ISOField();  ISOField(int n);  ISOField(int n, String v); @Override byte[] pack(); @Override int unpack(byte[] b); @Override void unpack(InputStream in); @Override Object getKey(); @Override Object getValue(); @Override void setValue(Object obj); @Override byte[] getBytes(); @Override void dump(PrintStream p, String indent); @Override void setFieldNumber(int fieldNumber); @Override int getFieldNumber(); @Override void writeExternal(ObjectOutput out); @Override void readExternal(ObjectInput in);  }