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 theVerifyclass.- Since:
- 17.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VerifyException()Constructs aVerifyExceptionwith no message.VerifyException(java.lang.String message)Constructs aVerifyExceptionwith the messagemessage.VerifyException(java.lang.String message, java.lang.Throwable cause)Constructs aVerifyExceptionwith the messagemessageand the causecause.VerifyException(java.lang.Throwable cause)Constructs aVerifyExceptionwith the causecauseand a message that isnullifcauseis null, andcause.toString()otherwise.
-
-
-
Constructor Detail
-
VerifyException
public VerifyException()
Constructs aVerifyExceptionwith no message.
-
VerifyException
public VerifyException(@CheckForNull java.lang.String message)
Constructs aVerifyExceptionwith the messagemessage.
-
VerifyException
public VerifyException(@CheckForNull java.lang.Throwable cause)
Constructs aVerifyExceptionwith the causecauseand a message that isnullifcauseis null, andcause.toString()otherwise.- Since:
- 19.0
-
VerifyException
public VerifyException(@CheckForNull java.lang.String message, @CheckForNull java.lang.Throwable cause)
Constructs aVerifyExceptionwith the messagemessageand the causecause.- Since:
- 19.0
-
-