org.apache.shiro.util
Class UnknownClassException

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

public class UnknownClassException
extends ShiroException

The Shiro framework's RuntimeException equivalent of the JDK's ClassNotFoundException, to maintain a RuntimeException paradigm.

Since:
0.1
See Also:
Serialized Form

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

UnknownClassException

public UnknownClassException()
Creates a new UnknownClassException.


UnknownClassException

public UnknownClassException(String message)
Constructs a new UnknownClassException.

Parameters:
message - the reason for the exception

UnknownClassException

public UnknownClassException(Throwable cause)
Constructs a new UnknownClassException.

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

UnknownClassException

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

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.