com.opensymphony.xwork2.inject

## Class DependencyException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.opensymphony.xwork2.inject.DependencyException

- All Implemented Interfaces:
    Serializable

      public class DependencyException
      extends RuntimeException

  Thrown when a dependency is misconfigured.
  Author:
    crazybob@google.com (Bob Lee)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DependencyException(String message)`
    `DependencyException(String message, Throwable cause)`
    `DependencyException(Throwable 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`

- - ### Constructor Detail

    - #### DependencyException

          public DependencyException(String message)

    - #### DependencyException

          public DependencyException(String message,
                                     Throwable cause)

    - #### DependencyException

          public DependencyException(Throwable cause)

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.