Package ch.autumo.ui.exception
Class ProcessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ch.autumo.ui.exception.ProcessException
- All Implemented Interfaces:
Serializable
Exception for any wrong processings.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intError code: Copying a project failed.static intError code: General process error.static intError code: Copying resource failed.static intError code: Reading resource failed.static intError code: Writing to a log-file failed.static intError code: Writing a script/file output failed. -
Constructor Summary
ConstructorsConstructorDescriptionProcessException(int errCode) Process exception.ProcessException(int errCode, String message) Process exception. -
Method Summary
Modifier and TypeMethodDescriptionintGet error code.voidsetErrCode(int errCode) Set error code.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERR_CODE_RESOURCE_READ_FAILED
public static int ERR_CODE_RESOURCE_READ_FAILEDError code: Reading resource failed. -
ERR_CODE_RESOURCE_COPY_FAILED
public static int ERR_CODE_RESOURCE_COPY_FAILEDError code: Copying resource failed. -
ERR_CODE_WRITE_SCRIPT
public static int ERR_CODE_WRITE_SCRIPTError code: Writing a script/file output failed. -
ERR_CODE_WRITE_LOG_FILE
public static int ERR_CODE_WRITE_LOG_FILEError code: Writing to a log-file failed. -
ERR_CODE_COPY_PROJECT_FAILED
public static int ERR_CODE_COPY_PROJECT_FAILEDError code: Copying a project failed. -
ERR_CODE_PROCESS
public static int ERR_CODE_PROCESSError code: General process error.
-
-
Constructor Details
-
ProcessException
public ProcessException(int errCode) Process exception.- Parameters:
errCode- error code
-
ProcessException
Process exception.- Parameters:
errCode- error codemessage- message
-
-
Method Details
-
getErrCode
public int getErrCode()Get error code.- Returns:
- error code
-
setErrCode
public void setErrCode(int errCode) Set error code.- Parameters:
errCode- error code
-