Package org.artifactory.exception
Class CancelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.artifactory.exception.CancelException
-
- All Implemented Interfaces:
java.io.Serializable
public class CancelException extends java.lang.RuntimeExceptionAn exception used to indicate cancellation of an action with an appropriate status error code to return. Primarily used to reject deployment or retrieval of an item.- Author:
- Yoav Landman
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelException(java.lang.String message, int status)CancelException(java.lang.String message, java.lang.Throwable cause, int status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Returns the HTTP error code associated with the cancellation.
-