public class Problem extends ObjectSE
ProblemReporter に渡される共通の引数として機能します。致命的な可能性のある問題(エラー)または単なる警告を示す場合があります。
ProblemReporter| コンストラクターと説明 |
|---|
Problem(StringSE message, Location location)Problem クラスの新しいインスタンスを作成します。 |
Problem(StringSE message, Location location, ParseState parseState)Problem クラスの新しいインスタンスを作成します。 |
Problem(StringSE message, Location location, ParseState parseState, ThrowableSE rootCause)Problem クラスの新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
Location | getLocation() エラーをトリガーした Bean 構成ソース内の場所を取得します。 |
StringSE | getMessage() 問題を詳しく説明するメッセージを取得します。 |
ParseState | getParseState() エラー発生時に ParseState を取得します(null の場合があります)。 |
StringSE | getResourceDescription() この Problem の Location オブジェクトに含まれている、エラーをトリガーした Bean 構成ソースの説明を取得します。 |
ThrowableSE | getRootCause() エラーの原因となった根本的な例外を取得します( null の場合があります)。 |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic Problem(StringSE message, Location location)
Problem クラスの新しいインスタンスを作成します。message - 問題を詳しく説明するメッセージ location - エラーをトリガーした Bean 構成ソース内の場所 public Problem(StringSE message, Location location, ParseState parseState)
Problem クラスの新しいインスタンスを作成します。message - 問題を詳しく説明するメッセージ parseState - エラー発生時の ParseStatelocation - エラーをトリガーした Bean 構成ソース内の場所 public Problem(StringSE message, Location location, @Nullable ParseState parseState, @Nullable ThrowableSE rootCause)
Problem クラスの新しいインスタンスを作成します。message - 問題を詳しく説明するメッセージ rootCause - エラーの原因となった根本的な例外 (null の場合があります)parseState - エラー発生時の ParseStatelocation - エラーをトリガーした Bean 構成ソース内の場所 public StringSE getMessage()
public Location getLocation()
public StringSE getResourceDescription()
getLocation()@Nullable public ParseState getParseState()
ParseState を取得します(null の場合があります)。@Nullable public ThrowableSE getRootCause()
null の場合があります)。public StringSE toString()
ObjectSE の toStringSE