Class CleanupFactoryException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CleanupFactoryException
    extends FactoryException
    Class to notify of failures while instantiating Cleanup Strategy and Implementation classes.
    Version:
    $Revision$
    Author:
    Karan Vahi
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_NAME
      The default classname that is associated with the exception.
    • Constructor Summary

      Constructors 
      Constructor Description
      CleanupFactoryException​(java.lang.String msg)
      Constructs a CleanupFactoryException with no detail message.
      CleanupFactoryException​(java.lang.String msg, java.lang.String classname)
      Constructs a CleanupFactoryException with the specified detailed message.
      CleanupFactoryException​(java.lang.String msg, java.lang.String classname, java.lang.Throwable cause)
      Constructs a CleanupFactoryException with the specified detailed message and a cause.
      CleanupFactoryException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs a CleanupFactoryException with the specified detailed message and a cause.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • DEFAULT_NAME

        public static final java.lang.String DEFAULT_NAME
        The default classname that is associated with the exception.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CleanupFactoryException

        public CleanupFactoryException​(java.lang.String msg)
        Constructs a CleanupFactoryException with no detail message. The associated classname is set to value specified by DEFAULT_NAME.
        Parameters:
        msg - the detailed message.
        See Also:
        DEFAULT_NAME
      • CleanupFactoryException

        public CleanupFactoryException​(java.lang.String msg,
                                       java.lang.String classname)
        Constructs a CleanupFactoryException with the specified detailed message.
        Parameters:
        msg - is the detailed message.
        classname - the name of class that was trying to be instantiated or some other signifier like module name.
      • CleanupFactoryException

        public CleanupFactoryException​(java.lang.String msg,
                                       java.lang.Throwable cause)
        Constructs a CleanupFactoryException with the specified detailed message and a cause. The associated classname is set to value specified by DEFAULT_NAME.
        Parameters:
        msg - is the detailed message that is to be logged.
        cause - is the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.
        See Also:
        DEFAULT_NAME
      • CleanupFactoryException

        public CleanupFactoryException​(java.lang.String msg,
                                       java.lang.String classname,
                                       java.lang.Throwable cause)
        Constructs a CleanupFactoryException with the specified detailed message and a cause.
        Parameters:
        msg - is the detailed message that is to be logged.
        classname - the name of class that was trying to be instantiated.
        cause - is the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.