クラス BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.thinkit.api.gateway.github.exception.BadRequestException
- すべての実装されたインタフェース:
Serializable
public final class BadRequestException extends RuntimeException
Thrown to indicate that send the bad request.
- 導入されたバージョン:
- 1.0.0
- 関連項目:
- 直列化された形式
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 BadRequestException()
Constructs anBadRequestException
with no detail message.BadRequestException(String s)
Constructs anBadRequestException
with the specified detail message.BadRequestException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.BadRequestException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? -
メソッドの概要
クラスから継承されたメソッド java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
コンストラクタの詳細
-
BadRequestException
public BadRequestException()Constructs anBadRequestException
with no detail message. -
BadRequestException
Constructs anBadRequestException
with the specified detail message.- パラメータ:
s
- the detail message.
-
BadRequestException
Constructs a new exception with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- パラメータ:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
BadRequestException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString())(which typically contains the class and detail message of cause. This constructor is useful for exceptions that are little more than wrappers for other throwables (for example,PrivilegedActionException
).- パラメータ:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A nullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-