org.apache.shiro.util
Class InstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by org.apache.shiro.util.InstantiationException
All Implemented Interfaces:
Serializable

public class InstantiationException
extends ShiroException

Runtime exception thrown by the framework when unable to instantiate a Class via reflection.

Since:
0.2
See Also:
Serialized Form

Constructor Summary
InstantiationException()
          Creates a new InstantiationException.
InstantiationException(String message)
          Constructs a new InstantiationException.
InstantiationException(String message, Throwable cause)
          Constructs a new InstantiationException.
InstantiationException(Throwable cause)
          Constructs a new InstantiationException.
 
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()
Creates a new InstantiationException.


InstantiationException

public InstantiationException(String message)
Constructs a new InstantiationException.

Parameters:
message - the reason for the exception

InstantiationException

public InstantiationException(Throwable cause)
Constructs a new InstantiationException.

Parameters:
cause - the underlying Throwable that caused this exception to be thrown.

InstantiationException

public InstantiationException(String message,
                              Throwable cause)
Constructs a new InstantiationException.

Parameters:
message - the reason for the exception
cause - the underlying Throwable that caused this exception to be thrown.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.