net.trajano.twiff
Class InstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.trajano.twiff.TwiffException
                  extended by net.trajano.twiff.InstantiationException
All Implemented Interfaces:
Serializable

public class InstantiationException
extends TwiffException

Subclass of TwiffException when there is a problem instantiating a class.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
InstantiationException()
          Construct a new exception with no cause and no detail message.
InstantiationException(String message)
          Construct a new exception with no cause and the specified detail message.
InstantiationException(String message, Throwable cause)
          Construct a new exception with the specified cause and the specified detail message.
InstantiationException(Throwable cause)
          Construct a new exception with the specified cause and no detail 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiationException

public InstantiationException()
Construct a new exception with no cause and no detail message.


InstantiationException

public InstantiationException(String message)
Construct a new exception with no cause and the specified detail message.

Parameters:
message - the message detailing the exception

InstantiationException

public InstantiationException(String message,
                              Throwable cause)
Construct a new exception with the specified cause and the specified detail message.

Parameters:
message - the message detailing the exception
cause - the exception that caused this one

InstantiationException

public InstantiationException(Throwable cause)
Construct a new exception with the specified cause and no detail message.

Parameters:
cause - the exception that caused this one


Copyright © 2004-2005 trajano.net. All Rights Reserved.