Package com.mysql.cj.jdbc.exceptions
Class NotUpdatable
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.mysql.cj.jdbc.exceptions.NotUpdatable
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public class NotUpdatable
extends java.sql.SQLException
Thrown when a result sate is not updatable.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NotUpdatable(java.lang.String reason)
Create a new NotUpdatable exception. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotUpdatable
public NotUpdatable(java.lang.String reason)Create a new NotUpdatable exception. Append the given reason to the not updatable message if the reason is not null.- Parameters:
reason
- message for this exception.
-