net.sf.rej.util
Class ParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.rej.util.ParsingException
All Implemented Interfaces:
java.io.Serializable

public class ParsingException
extends java.lang.RuntimeException

An unchecked exception indicating a parsing error during the parsing of a classfile. Used to indicate an IO problem when parsing a classfile from a stream (as opposed to a byte array).

Author:
Sami Koivu
See Also:
Serialized Form

Constructor Summary
ParsingException(java.lang.Exception wrapped)
          Instanciate this object with the given Exception.
ParsingException(java.lang.String message)
          Instanciate this object with the given message.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParsingException

public ParsingException(java.lang.Exception wrapped)
Instanciate this object with the given Exception.

Parameters:
wrapped - an exception that is wrapped by this object.

ParsingException

public ParsingException(java.lang.String message)
Instanciate this object with the given message.

Parameters:
message - exception message.