Package com.vaadin.pro.licensechecker
Class PreTrialStatusCheckException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.pro.licensechecker.PreTrialStatusCheckException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs during the check of pre-trial status.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPreTrialStatusCheckException(String message) Constructs a newPreTrialStatusCheckExceptionwith the specified detail message.PreTrialStatusCheckException(String message, boolean cannotReachServer) Constructs a newPreTrialStatusCheckExceptionwith the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the exception was caused by an inability to reach the server.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreTrialStatusCheckException
Constructs a newPreTrialStatusCheckExceptionwith the specified detail message.- Parameters:
message- the detail message, which provides more information about the exception.
-
PreTrialStatusCheckException
Constructs a newPreTrialStatusCheckExceptionwith the specified detail message.- Parameters:
message- the detail message, which provides more information about the exception.cannotReachServer- indicates whether the exception was caused by an inability to reach the server.
-
-
Method Details
-
isCannotReachServer
public boolean isCannotReachServer()Indicates whether the exception was caused by an inability to reach the server.- Returns:
- true if the server could not be reached, false otherwise.
-