net.shibboleth.utilities.java.support.component
Class UninitializedComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.shibboleth.utilities.java.support.component.UninitializedComponentException
All Implemented Interfaces:
Serializable

public class UninitializedComponentException
extends RuntimeException

Exception thrown if a component has not been initialized and needs to be in order to perform the operation.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
UninitializedComponentException()
          Constructor.
UninitializedComponentException(Exception wrappedException)
          Constructor.
UninitializedComponentException(Object uninitializedComponent)
          Constructor.
UninitializedComponentException(String message)
          Constructor.
UninitializedComponentException(String message, Exception wrappedException)
          Constructor.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values
Constructor Detail

UninitializedComponentException

public UninitializedComponentException()
Constructor.


UninitializedComponentException

public UninitializedComponentException(Object uninitializedComponent)
Constructor. This method constructs the exception message by prepending the output of Object.toString() to the string has not been initialized.

Parameters:
uninitializedComponent - the component that was not initialzied

UninitializedComponentException

public UninitializedComponentException(@Nullable
                                       String message)
Constructor.

Parameters:
message - exception message

UninitializedComponentException

public UninitializedComponentException(@Nullable
                                       Exception wrappedException)
Constructor.

Parameters:
wrappedException - exception to be wrapped by this one

UninitializedComponentException

public UninitializedComponentException(@Nullable
                                       String message,
                                       @Nullable
                                       Exception wrappedException)
Constructor.

Parameters:
message - exception message
wrappedException - exception to be wrapped by this one


Copyright © 1999-2012. All Rights Reserved.