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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • 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.