public final class ErrorData extends ObjectSE
PageContext.getErrorData()
コンストラクターと説明 |
---|
ErrorData(ThrowableSE throwable, int statusCode, StringSE uri, StringSE servletName) 新しい ErrorData オブジェクトを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getRequestURI() リクエスト URI を返します。 |
StringSE | getServletName() 呼び出されたサーブレットの名前を返します。 |
int | getStatusCode() エラーのステータスコードを返します。 |
ThrowableSE | getThrowable() エラーの原因となった Throwable を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ErrorData(ThrowableSE throwable, int statusCode, StringSE uri, StringSE servletName)
throwable
- エラーの原因である ThrowablestatusCode
- エラーのステータスコード uri
- リクエスト URIservletName
- 呼び出されたサーブレットの名前 public ThrowableSE getThrowable()
public int getStatusCode()
public StringSE getRequestURI()
public StringSE getServletName()
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.