org.apache.shiro.util
Class UnavailableConstructorException

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.UnavailableConstructorException
All Implemented Interfaces:
Serializable

public class UnavailableConstructorException
extends ShiroException

Exception thrown when attempting to instantiate a Class via reflection, but a suitable constructor (depending on the number of expected arguments) doesn't exist or cannot be obtained.

Since:
0.2
See Also:
Serialized Form

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

UnavailableConstructorException

public UnavailableConstructorException()
Creates a new UnavailableConstructorException.


UnavailableConstructorException

public UnavailableConstructorException(String message)
Constructs a new UnavailableConstructorException.

Parameters:
message - the reason for the exception

UnavailableConstructorException

public UnavailableConstructorException(Throwable cause)
Constructs a new UnavailableConstructorException.

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

UnavailableConstructorException

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

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


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