Package com.cognex.cmbsdk.exceptions
Class OperationCanceledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cognex.cmbsdk.exceptions.DataManException
com.cognex.cmbsdk.exceptions.DataManOperationException
com.cognex.cmbsdk.exceptions.OperationCanceledException
- All Implemented Interfaces:
Serializable
Represents the error that caused by a command which was canceled.
- See Also:
-
Field Summary
Fields inherited from class com.cognex.cmbsdk.exceptions.DataManOperationException
mCommand, mStatus -
Constructor Summary
ConstructorsConstructorDescriptionOperationCanceledException(String command, DmccResponseStatus status) Initializes a new instance of theOperationCanceledExceptionclass. -
Method Summary
Methods inherited from class com.cognex.cmbsdk.exceptions.DataManOperationException
getCommand, getStatusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OperationCanceledException
Initializes a new instance of theOperationCanceledExceptionclass.- Parameters:
command- The command that caused the error.status- The result status code
-