javar.exception
Class JavarException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javar.exception.JavarException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JavarBadArgumentException, JavarIOException, JavarParseException

public class JavarException
extends Exception

This will represent an exception that has occured during th parsing of the bytecode stream.

Author:
Ben Litchfield
See Also:
Serialized Form

Constructor Summary
JavarException(String msg)
          constructor
JavarException(String msg, Throwable sub)
          constructor
 
Method Summary
 Throwable getSubException()
          This will get the sub exception that caused this io exception.
 
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

JavarException

public JavarException(String msg)
constructor

Parameters:
msg - A msg describing this exception.

JavarException

public JavarException(String msg,
                      Throwable sub)
constructor

Parameters:
msg - A msg describing this exception.
sub - The sub exception
Method Detail

getSubException

public Throwable getSubException()
This will get the sub exception that caused this io exception.

Returns:
The sub exception