Package com.google.common.base
Class VerifyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.common.base.VerifyException
-
- All Implemented Interfaces:
java.io.Serializable
@GwtCompatible public class VerifyException extends java.lang.RuntimeException
Exception thrown upon the failure of a verification check, including those performed by the convenience methods of theVerify
class.- Since:
- 17.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VerifyException()
Constructs aVerifyException
with no message.VerifyException(@Nullable java.lang.String message)
Constructs aVerifyException
with the messagemessage
.VerifyException(@Nullable java.lang.String message, @Nullable java.lang.Throwable cause)
Constructs aVerifyException
with the messagemessage
and the causecause
.VerifyException(@Nullable java.lang.Throwable cause)
Constructs aVerifyException
with the causecause
and a message that isnull
ifcause
is null, andcause.toString()
otherwise.
-
-
-
Constructor Detail
-
VerifyException
public VerifyException()
Constructs aVerifyException
with no message.
-
VerifyException
public VerifyException(@Nullable java.lang.String message)
Constructs aVerifyException
with the messagemessage
.
-
VerifyException
public VerifyException(@Nullable java.lang.Throwable cause)
Constructs aVerifyException
with the causecause
and a message that isnull
ifcause
is null, andcause.toString()
otherwise.- Since:
- 19.0
-
-