org.freehep.util.io
Class IncompleteTagException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.io.IOException
              
org.freehep.util.io.IncompleteTagException
- All Implemented Interfaces: 
 - Serializable
 
public class IncompleteTagException
- extends IOException
 
Exception for the TaggedInputStream. Signals that the inputstream contains
 more bytes than the stream has read for this tag.
- Version:
 
  - $Id: IncompleteTagException.java 8584 2006-08-10 23:06:37Z duns $
 
- Author:
 
  - Mark Donszelmann, Charles Loomis
 
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
IncompleteTagException
public IncompleteTagException(Tag tag,
                              byte[] rest)
- Creates an Incomplete Tag Exception
- Parameters:
 tag - incomplete tagrest - unused bytes
 
getTag
public Tag getTag()
- Returns:
 - tag
 
 
getBytes
public byte[] getBytes()
- Returns:
 - unused bytes
 
 
Copyright © 2000-2007 FreeHEP. All Rights Reserved.