Class IndyWorkflowException

  • All Implemented Interfaces:
    Serializable

    public class IndyWorkflowException
    extends org.commonjava.indy.IndyException
    Signals an error between the REST-resources layer and the next layer down (except for DownloadManager, which is normally two layers down thanks to binding controllers). Workflow exceptions are intended to carry with them some notion of what response to send to the user (even if it's the default: HTTP 500).
    See Also:
    Serialized Form
    • Constructor Detail

      • IndyWorkflowException

        public IndyWorkflowException​(String message,
                                     Object... params)
      • IndyWorkflowException

        public IndyWorkflowException​(String message,
                                     Throwable cause,
                                     Object... params)
      • IndyWorkflowException

        public IndyWorkflowException​(int status,
                                     String message,
                                     Object... params)
      • IndyWorkflowException

        public IndyWorkflowException​(int status,
                                     String message,
                                     Throwable cause,
                                     Object... params)
    • Method Detail

      • getMessage

        public String getMessage()
        Overrides:
        getMessage in class org.commonjava.indy.IndyException
      • getStatus

        public int getStatus()