Class ProjectOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ru.cg.webbpm.studio.core.api.project.ProjectOperationException
- All Implemented Interfaces:
Serializable
Exception in any operation with user project. Usually operation is triggered by user action.
- Author:
- Tim Urmancheev
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectOperationException
(String message, String code) ProjectOperationException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProjectOperationException
-
ProjectOperationException
-
-
Method Details
-
getCode
Get exception code. Exception code is used to differentiate between different errors of one method. Usually it is needed to show user different messages depending on error cause.- Returns:
- exception code
-