sofya.base.exceptions
Class InterfaceClassfileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by sofya.base.exceptions.BadFileFormatException
                  extended by sofya.base.exceptions.InterfaceClassfileException
All Implemented Interfaces:
java.io.Serializable

public class InterfaceClassfileException
extends BadFileFormatException

Defines an exception that indicates that a class file defines an interface, and the current tool cannot operate on an interface.

Version:
07/25/2006
Author:
Alex Kinneer
See Also:
Serialized Form

Constructor Summary
InterfaceClassfileException()
          Creates new instance of this exception using the default message.
InterfaceClassfileException(java.lang.String msg)
          Creates new instance of this exception with a given message.
InterfaceClassfileException(java.lang.String msg, java.lang.Throwable cause)
          Creates an instance with the given message wrapping another exception.
 
Method Summary
 
Methods inherited from class sofya.base.exceptions.BadFileFormatException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

InterfaceClassfileException

public InterfaceClassfileException()
Creates new instance of this exception using the default message.


InterfaceClassfileException

public InterfaceClassfileException(java.lang.String msg)
Creates new instance of this exception with a given message.

Parameters:
msg - Message to be associated with this exception in place of the default message.

InterfaceClassfileException

public InterfaceClassfileException(java.lang.String msg,
                                   java.lang.Throwable cause)
Creates an instance with the given message wrapping another exception.

Parameters:
msg - Message describing the error.
cause - Exception that indicated the error.