Package org.opends.server.types
Class CanceledOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opends.server.types.OpenDsException
-
- org.opends.server.types.IdentifiedException
-
- org.opends.server.types.CanceledOperationException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class CanceledOperationException extends IdentifiedException
This class defines an exception that may be thrown if the operation being processed is cancelled for some reason (e.g., an abandon or cancel request from the client).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CanceledOperationException(CancelRequest cancelRequest)Creates a new cancelled operation exception with the provided result and no additional message.CanceledOperationException(CancelRequest cancelRequest, org.forgerock.i18n.LocalizableMessage message)Creates a new cancelled operation exception with the provided information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelRequestgetCancelRequest()Retrieves the cancel request for this cancelled operation exception.-
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CanceledOperationException
public CanceledOperationException(CancelRequest cancelRequest)
Creates a new cancelled operation exception with the provided result and no additional message.- Parameters:
cancelRequest- The result of the cancel processing.
-
CanceledOperationException
public CanceledOperationException(CancelRequest cancelRequest, org.forgerock.i18n.LocalizableMessage message)
Creates a new cancelled operation exception with the provided information.- Parameters:
cancelRequest- The request of the cancel processing.message- The message providing additional information about the cancel processing, ornullif there is no message.
-
-
Method Detail
-
getCancelRequest
public CancelRequest getCancelRequest()
Retrieves the cancel request for this cancelled operation exception.- Returns:
- The cancel request for this cancelled operation exception.
-
-