Class DependencyException

  • All Implemented Interfaces:
    Serializable

    public class DependencyException
    extends Exception
    Exception thrown when there is an object instantiation error or error processing dependencies.
    Author:
    Chris Allan (callan at blackcat dot ca)
    See Also:
    Serialized Form
    • Constructor Detail

      • DependencyException

        public DependencyException​(String message)
        Default constructor.
        Parameters:
        message - Error message.
      • DependencyException

        public DependencyException​(String message,
                                   Class<? extends Service> klass)
        Default constructor.
        Parameters:
        message - Error message.
        klass - Failed instantiation class.
      • DependencyException

        public DependencyException​(String message,
                                   Class<? extends Service> klass,
                                   Throwable cause)
        Default constructor.
        Parameters:
        message - Error message.
        klass - Failed instantiation class.
        cause - Upstream exception.
      • DependencyException

        public DependencyException​(Throwable cause)
        Default constructor.
        Parameters:
        cause - Upstream exception.
    • Method Detail

      • getFailureClass

        public Class<? extends Service> getFailureClass()
        Returns the class that was used during a failed instantiation.
        Returns:
        See above.