databaseisreadonlyexception.java

来自「Java的面向对象数据库系统的源代码」· Java 代码 · 共 33 行

JAVA
33
字号

package org.odmg;

/**
* This exception is thrown when a call has been made that modifies
* a database that is open in read-only mode.
* @author	David Jordan (as Java Editor of the Object Data Management Group)
* @version ODMG 3.0
* @see org.odmg.Database
* @see org.odmg.ODMGRuntimeException
*/

public class DatabaseIsReadOnlyException extends ODMGRuntimeException
{
/**
* Construct an instance of the exception without a message.
*/
	public DatabaseIsReadOnlyException()
  {
  	super();
  }

/**
* Construct an instance of the exception with a descriptive message.
* @param	msg	A message indicating why the exception occurred.
*/
	public DatabaseIsReadOnlyException(String msg)
  {
		super(msg);
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?