org.fourthline.cling.model.action
Class ActionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
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
 int getErrorCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 © 2013 4th Line GmbH, Switzerland. All Rights Reserved.