Class ProcessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ch.autumo.ui.exception.ProcessException
All Implemented Interfaces:
Serializable

public class ProcessException extends Exception
Exception for any wrong processings.
See Also:
  • Field Details

    • ERR_CODE_RESOURCE_READ_FAILED

      public static int ERR_CODE_RESOURCE_READ_FAILED
      Error code: Reading resource failed.
    • ERR_CODE_RESOURCE_COPY_FAILED

      public static int ERR_CODE_RESOURCE_COPY_FAILED
      Error code: Copying resource failed.
    • ERR_CODE_WRITE_SCRIPT

      public static int ERR_CODE_WRITE_SCRIPT
      Error code: Writing a script/file output failed.
    • ERR_CODE_WRITE_LOG_FILE

      public static int ERR_CODE_WRITE_LOG_FILE
      Error code: Writing to a log-file failed.
    • ERR_CODE_COPY_PROJECT_FAILED

      public static int ERR_CODE_COPY_PROJECT_FAILED
      Error code: Copying a project failed.
    • ERR_CODE_PROCESS

      public static int ERR_CODE_PROCESS
      Error code: General process error.
  • Constructor Details

    • ProcessException

      public ProcessException(int errCode)
      Process exception.
      Parameters:
      errCode - error code
    • ProcessException

      public ProcessException(int errCode, String message)
      Process exception.
      Parameters:
      errCode - error code
      message - 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