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:
- Serializable
 
 @GwtCompatible public class VerifyException extends 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 SummaryConstructors Constructor Description VerifyException()Constructs aVerifyExceptionwith no message.VerifyException(@Nullable String message)Constructs aVerifyExceptionwith the messagemessage.VerifyException(@Nullable String message, @Nullable Throwable cause)Constructs aVerifyExceptionwith the messagemessageand the causecause.VerifyException(@Nullable Throwable cause)Constructs aVerifyExceptionwith the causecauseand a message that isnullifcauseis null, andcause.toString()otherwise.
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
VerifyExceptionpublic VerifyException() Constructs aVerifyExceptionwith no message.
 - 
VerifyExceptionpublic VerifyException(@Nullable String message) Constructs aVerifyExceptionwith the messagemessage.
 - 
VerifyExceptionpublic VerifyException(@Nullable Throwable cause) Constructs aVerifyExceptionwith the causecauseand a message that isnullifcauseis null, andcause.toString()otherwise.- Since:
- 19.0
 
 - 
VerifyExceptionpublic VerifyException(@Nullable String message, @Nullable Throwable cause) Constructs aVerifyExceptionwith the messagemessageand the causecause.- Since:
- 19.0
 
 
- 
 
-