public class TryBlockSupport extends Object
tryブロックをサポートするためのクラスです。| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected StringBuffer |
codeBuf
コード用のバッファです。
|
protected int |
status
状態です。
|
protected static int |
STATUS_CATCH
catch状態です。
|
protected static int |
STATUS_FINALLY
finally状態です。
|
protected static int |
STATUS_TRY
try状態です。
|
| コンストラクタと説明 |
|---|
TryBlockSupport(String src)
TryBlockSupportを作成します。 |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addCatchBlock(Class exceptionType,
String src)
catchブロックを追加します。 |
String |
getSourceCode()
出来上がったソースを返します。
|
void |
setFinallyBlock(String src)
finallyブロックを設定します。 |
protected static final int STATUS_TRY
protected static final int STATUS_CATCH
protected static final int STATUS_FINALLY
protected int status
protected StringBuffer codeBuf
public TryBlockSupport(String src)
TryBlockSupportを作成します。src - Copyright © 2015 The DBFlute Project. All rights reserved.