Class DependencyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
All Implemented Interfaces:
Serializable, DependencyAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
DependencyException.DependenciesException, DependencyException.DependencyClaimException, InstallDependencyException

public abstract class DependencyException extends org.refcodes.exception.AbstractException implements DependencyAccessor
The DependencyException is the base checked exception for the refcodes-decoupling package.
See Also:
  • Field Details

    • _dependency

      protected Dependency<?> _dependency
  • Constructor Details

  • Method Details

    • getDependency

      public Dependency<?> getDependency()
      Retrieves the dependency from the dependency property.
      Specified by:
      getDependency in interface DependencyAccessor
      Returns:
      The dependency stored by the dependency property.
    • getPatternArguments

      public Object[] getPatternArguments()
      Specified by:
      getPatternArguments in interface org.refcodes.exception.Trap