Class NotUpdatable
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.mysql.jdbc.NotUpdatable
- All Implemented Interfaces:
Serializable, Iterable<Throwable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe message to use when result set is not updatable. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new NotUpdatable exception.NotUpdatable(String reason) Append the given reason to the not updatable message if the reason is not null. -
Method Summary
Methods inherited from class SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
NOT_UPDATEABLE_MESSAGE
The message to use when result set is not updatable. The same message is used in the warnings generated by Updatabale result set.
-
-
Constructor Details
-
NotUpdatable
public NotUpdatable()Creates a new NotUpdatable exception. -
NotUpdatable
Append the given reason to the not updatable message if the reason is not null.
-