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