📄 jsqlruntimeexception.java
字号:
//-< JSQLRuntimeException.java >-------------------------------------*--------*
// JSQL Version 1.04 (c) 1999 GARRET * ? *
// (Java SQL) * /\| *
// * / \ *
// Created: 9-Dec-2002 K.A. Knizhnik * / [] \ *
// Last update: 9-Dec-2002 K.A. Knizhnik * GARRET *
//-------------------------------------------------------------------*--------*
// Exception thown by JSQL at runtime
//-------------------------------------------------------------------*--------*
package org.garret.perst;
/**
* Exception thown by JSQL at runtime which should be ignored and boolean expression caused this
* exption should be treated as false
*/
public class JSQLRuntimeException extends RuntimeException {
/**
* Constructor of exception
* @param target class of the target object in which field was not found
* @param fieldName name of the locate field
*/
public JSQLRuntimeException(String message, Class target, String fieldName) {
super(message);
this.target = target;
this.fieldName = fieldName;
}
/**
* Get class in which lookup was performed
*/
public Class getTarget() {
return target;
}
/**
* Get name of the field
*/
public String getFieldName() {
return fieldName;
}
String fieldName;
Class target;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -