Class ExceptionProperty

All Implemented Interfaces:
Property, Cloneable

public class ExceptionProperty extends SubFlowProperty
Exceptionフロー型のプロパティクラスです。
  • Field Details

  • Constructor Details

    • ExceptionProperty

      public ExceptionProperty(String name)
      ExceptionProperty(name, FlowException.STATE_DEFAULT) と同じです。
    • ExceptionProperty

      public ExceptionProperty(String name, int state)
      コンストラクタ
      Parameters:
      name - プロパティ名
      state - このExceptionPropertyがキャッチするExceptionのStateを指定します。
  • Method Details

    • getType

      public PropertyType getType()
      プロパティ型を返します。
      常にPropertyType.EXCEPTIONを返します。 
      Specified by:
      getType in interface Property
      Overrides:
      getType in class SubFlowProperty
    • getState

      public int getState()
      Stateを返します。
    • assign

      public void assign(Property prop)
      Description copied from interface: Property
      このプロパティの内容を引数のPropertyにコピーします。
      引数となるPropertyのクラスはメソッド呼び出しを行うクラスと同一でなければなりません。
      Specified by:
      assign in interface Property
      Overrides:
      assign in class SubFlowProperty