org.freehep.util.io
Class IncompleteTagException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
IncompleteTagException(Tag tag, byte[] rest)
          Creates an Incomplete Tag Exception
 
Method Summary
 byte[] getBytes()
           
 Tag getTag()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncompleteTagException

public IncompleteTagException(Tag tag,
                              byte[] rest)
Creates an Incomplete Tag Exception

Parameters:
tag - incomplete tag
rest - unused bytes
Method Detail

getTag

public Tag getTag()
Returns:
tag

getBytes

public byte[] getBytes()
Returns:
unused bytes


Copyright © 2000-2007 FreeHEP. All Rights Reserved.