Top Description Fields Constructors Methods
com.mysql.cj.jdbc.exceptions

public Class NotUpdatable

extends SQLException
Class Inheritance
Imports
java.sql.SQLException, com.mysql.cj.Messages, com.mysql.cj.exceptions.MysqlErrorNumbers

Thrown when a result sate is not updatable.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NotUpdatable(String
message for this exception.
reason
)

Create a new NotUpdatable exception.

Method Summary

Inherited from java.sql.SQLException:
getErrorCodegetNextExceptiongetSQLStateiteratorsetNextException

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.sql.SQLException.serialVersionUID.

Constructor Detail

NotUpdatableback to summary
public NotUpdatable(String reason)

Create a new NotUpdatable exception. Append the given reason to the not updatable message if the reason is not null.

Parameters
reason:String

message for this exception.