Package org.commonjava.indy
Class IndyWorkflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.commonjava.indy.IndyException
-
- org.commonjava.indy.IndyWorkflowException
-
- All Implemented Interfaces:
Serializable
public class IndyWorkflowException extends org.commonjava.indy.IndyExceptionSignals an error between the REST-resources layer and the next layer down (except forDownloadManager, 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 Summary
Constructors Constructor Description IndyWorkflowException(int status, String message, Object... params)IndyWorkflowException(int status, String message, Throwable cause, Object... params)IndyWorkflowException(String message, Object... params)IndyWorkflowException(String message, Throwable cause, Object... params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilterLocationErrors()StringgetMessage()intgetStatus()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classorg.commonjava.indy.IndyException
-
getStatus
public int getStatus()
-
filterLocationErrors
public void filterLocationErrors() throws IndyWorkflowException- Throws:
IndyWorkflowException
-
-