Class NoConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.github.coho04.mysql.exceptions.NoConnectionException
- All Implemented Interfaces:
Serializable
The NoConnectionException is an exception thrown when there is no connection to the MySQL server.
It extends the Exception class.
- See Also:
-
Constructor Summary
ConstructorDescriptionNoConnectionException
(String message) NoConnectionException is an exception thrown when there is no connection to the MySQL server.NoConnectionException
(String message, Throwable cause) Creates a new instance of NoConnectionException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoConnectionException
NoConnectionException is an exception thrown when there is no connection to the MySQL server. It extends the Exception class. -
NoConnectionException
Creates a new instance of NoConnectionException with the specified detail message and cause.- Parameters:
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.
-