Enum Class ExceptionHandlingMode

java.lang.Object
java.lang.Enum<ExceptionHandlingMode>
org.iplass.mtp.async.ExceptionHandlingMode
All Implemented Interfaces:
Serializable, Comparable<ExceptionHandlingMode>, Constable

public enum ExceptionHandlingMode extends Enum<ExceptionHandlingMode>
非同期タスクの処理中に例外が発生した場合、どうするかを指定するモードです。
  • Enum Constant Details

    • RESTART

      public static final ExceptionHandlingMode RESTART
      非同期タスクを(ロールバック後)再実行します。
    • ABORT

      public static final ExceptionHandlingMode ABORT
      非同期タスクを中断します。
    • ABORT_LOG_FATAL

      public static final ExceptionHandlingMode ABORT_LOG_FATAL
      非同期タスクを中断し、FATALログにログ出力します。
  • Method Details

    • values

      public static ExceptionHandlingMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExceptionHandlingMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null