org.fourthline.cling.model.action

## Class ActionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.fourthline.cling.model.action.ActionException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    ActionCancelledException

      public class ActionException
      extends Exception

  Thrown (or encapsulated in `ActionInvocation` when an action execution failed.
  Author:
    Christian Bauer
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ActionException(ErrorCode errorCode)`
    `ActionException(ErrorCode errorCode, String message)`
    `ActionException(ErrorCode errorCode, String message, boolean concatMessages)`
    `ActionException(ErrorCode errorCode, String message, Throwable cause)`
    `ActionException(int errorCode, String message)`
    `ActionException(int errorCode, String message, Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getErrorCode()`

    - ### 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

    - #### ActionException

          public ActionException(int errorCode,
                                 String message)

    - #### ActionException

          public ActionException(int errorCode,
                                 String message,
                                 Throwable cause)

    - #### ActionException

          public ActionException(ErrorCode errorCode)

    - #### ActionException

          public ActionException(ErrorCode errorCode,
                                 String message)

    - #### ActionException

          public ActionException(ErrorCode errorCode,
                                 String message,
                                 boolean concatMessages)

    - #### ActionException

          public ActionException(ErrorCode errorCode,
                                 String message,
                                 Throwable cause)

  - ### Method Detail

    - #### getErrorCode

          public int getErrorCode()

Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.