クラス PreconditionFailedException

  • すべての実装されたインタフェース:
    Serializable

    public final class PreconditionFailedException
    extends RuntimeException
    Thrown to indicate that a specified value or object does not meet the preconditions as a result of the validation process.
    導入されたバージョン:
    1.0
    関連項目:
    直列化された形式
    • コンストラクタの詳細

      • PreconditionFailedException

        public PreconditionFailedException()
        Constructs an PreconditionFailedException with no detail message.
      • PreconditionFailedException

        public PreconditionFailedException​(String s)
        Constructs an PreconditionFailedException with the specified detail message.
        パラメータ:
        s - the detail message.
      • PreconditionFailedException

        public PreconditionFailedException​(String message,
                                           Throwable cause)
        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 the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        導入されたバージョン:
        1.0
      • PreconditionFailedException

        public PreconditionFailedException​(Throwable cause)
        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 the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        導入されたバージョン:
        1.0