public class HybsSystemException extends OgRuntimeException
共通的に使用されるエクセプションクラスです。 RuntimeException を継承しているため、try{} catch() {} は不要です。 本システムでは、すべてこのエクセプションクラスを継承させたクラスを作成し、用途によって、 使い分けるようにします。つまり、他のどのような、Throwable が発生したとしても、一旦、 try{} catch() {} で受けて、このクラスのサブクラスを、再度 throw させます。 そして、必要であれば、try{} catch() {} を用いて捕まえて、それぞれの対応処理を行います。 このクラスには、元々の発生したエクセプション( Throwable )を引数にとり、 その printStackTrace()情報を、自分自身のトレース情報に含めます。 また、引数にオブジェクトを渡すことができますので、object.toString() で、オブジェクトの 状態を表示できるようにしておけば、手軽にデバッグに使うことが可能になります。
5.6.7.1 (2013/08/09) エラーに、エンジンのバージョン等のシステム関係の情報を付与します。 |
6.0.2.5 (2014/10/31) エラーに、エラー箇所の情報も与えます。 |
6.4.2.0 (2016/01/29) 継承元を、RuntimeException ではなく、OgRuntimeException に変更。 |
コンストラクタと説明 |
---|
HybsSystemException()
詳細メッセージを指定しないで HybsSystemException を構築します。
|
HybsSystemException(String msg)
指定された詳細メッセージを持つ HybsSystemException を構築します。
|
HybsSystemException(String msg,
Throwable th)
指定されたオブジェクトを受け取る HybsSystemException を構築します。
|
HybsSystemException(Throwable th)
指定された詳細メッセージを持つ HybsSystemException を構築します。
|
addMessage, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public HybsSystemException()
OgRuntimeException.OgRuntimeException()
5.6.7.1 (2013/08/09) エラーに、エンジンのバージョン等の情報を付与します。 |
6.4.2.0 (2016/01/29) 継承元が、OgRuntimeException なので、エンジンバージョンは、組み込まれます。 |
public HybsSystemException(String msg)
msg
- 詳細メッセージOgRuntimeException.OgRuntimeException(String)
5.6.7.1 (2013/08/09) エラーに、エンジンのバージョン等の情報を付与します。 |
6.4.2.0 (2016/01/29) 継承元が、OgRuntimeException なので、エンジンバージョンは、組み込まれます。 |
public HybsSystemException(Throwable th)
th
- 例外ThrowableオブジェクトOgRuntimeException.OgRuntimeException(Throwable)
5.6.7.1 (2013/08/09) エラーに、エンジンのバージョン等の情報を付与します。 |
6.4.2.0 (2016/01/29) 継承元が、OgRuntimeException なので、エンジンバージョンは、組み込まれます。 |
public HybsSystemException(String msg, Throwable th)
msg
- 詳細メッセージth
- 例外ThrowableオブジェクトOgRuntimeException.OgRuntimeException(String,Throwable)
3.5.5.4 (2004/04/15) 引数を、RuntimeException(String , Throwable )にあわせます。 |
5.6.7.1 (2013/08/09) エラーに、エンジンのバージョン等の情報を付与します。 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.