com.ibm.portal.state.exceptions
Class CannotInstantiateURLFactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.state.exceptions.StateException
              extended by com.ibm.portal.state.exceptions.CannotInstantiateURLFactoryException
All Implemented Interfaces:
Localized, java.io.Serializable

public abstract class CannotInstantiateURLFactoryException
extends StateException

Exception which should be thrown if the URLFactory cannot be instantiated properly.

Since:
7.0
See Also:
Serialized Form

Field Summary
protected  java.lang.Class<? extends URLFactory> iClass
          URLFactory implementation class that could not be instantiated.
 
Constructor Summary
CannotInstantiateURLFactoryException(java.lang.Class<? extends URLFactory> aClass, java.lang.Exception aReason)
          Initializes this exception with the exception that caused the instantiation failure of the URLFactory.
 
Method Summary
protected  java.lang.Class<? extends URLFactory> getURLFactoryClass()
          Returns the class object of the URLFactory implementation class that could not be instantiated.
 
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
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Field Detail

iClass

protected final java.lang.Class<? extends URLFactory> iClass
URLFactory implementation class that could not be instantiated.

Constructor Detail

CannotInstantiateURLFactoryException

public CannotInstantiateURLFactoryException(java.lang.Class<? extends URLFactory> aClass,
                                            java.lang.Exception aReason)
Initializes this exception with the exception that caused the instantiation failure of the URLFactory.

Parameters:
aClass - URL factory implementation class that could not be instantiated.
aReason - Exception that provides details on the reason of this exception.
Method Detail

getURLFactoryClass

protected java.lang.Class<? extends URLFactory> getURLFactoryClass()
Returns the class object of the URLFactory implementation class that could not be instantiated.

Returns:
Class that could not be instantiated.