亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? objectoptimisticlockingfailureexception.java

?? spring framework 2.5.4源代碼
?? JAVA
字號:
/*
 * Copyright 2002-2006 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.orm;

import org.springframework.dao.OptimisticLockingFailureException;

/**
 * Exception thrown on an optimistic locking violation for a mapped object.
 * Provides information about the persistent class and the identifier.
 *
 * @author Juergen Hoeller
 * @since 13.10.2003
 */
public class ObjectOptimisticLockingFailureException extends OptimisticLockingFailureException {

	private Object persistentClass;

	private Object identifier;


	/**
	 * Create a general ObjectOptimisticLockingFailureException with the given message,
	 * without any information on the affected object.
	 * @param msg the detail message
	 * @param cause the source exception
	 */
	public ObjectOptimisticLockingFailureException(String msg, Throwable cause) {
		super(msg, cause);
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the default "optimistic locking failed" message.
	 * @param persistentClass the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 */
	public ObjectOptimisticLockingFailureException(Class persistentClass, Object identifier) {
		this(persistentClass, identifier, null);
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the default "optimistic locking failed" message.
	 * @param persistentClass the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 * @param cause the source exception
	 */
	public ObjectOptimisticLockingFailureException(
			Class persistentClass, Object identifier, Throwable cause) {

		this(persistentClass, identifier,
				"Object of class [" + persistentClass.getName() + "] with identifier [" + identifier +
				"]: optimistic locking failed", cause);
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the given explicit message.
	 * @param persistentClass the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 * @param msg the detail message
	 * @param cause the source exception
	 */
	public ObjectOptimisticLockingFailureException(
			Class persistentClass, Object identifier, String msg, Throwable cause) {

		super(msg, cause);
		this.persistentClass = persistentClass;
		this.identifier = identifier;
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the default "optimistic locking failed" message.
	 * @param persistentClassName the name of the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 */
	public ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier) {
		this(persistentClassName, identifier, null);
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the default "optimistic locking failed" message.
	 * @param persistentClassName the name of the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 * @param cause the source exception
	 */
	public ObjectOptimisticLockingFailureException(
			String persistentClassName, Object identifier, Throwable cause) {

		this(persistentClassName, identifier,
				"Object of class [" + persistentClassName + "] with identifier [" + identifier +
				"]: optimistic locking failed", cause);
	}

	/**
	 * Create a new ObjectOptimisticLockingFailureException for the given object,
	 * with the given explicit message.
	 * @param persistentClassName the name of the persistent class
	 * @param identifier the ID of the object for which the locking failed
	 * @param msg the detail message
	 * @param cause the source exception
	 */
	public ObjectOptimisticLockingFailureException(
			String persistentClassName, Object identifier, String msg, Throwable cause) {

		super(msg, cause);
		this.persistentClass = persistentClassName;
		this.identifier = identifier;
	}


	/**
	 * Return the persistent class of the object for which the locking failed.
	 * If no Class was specified, this method returns null.
	 */
	public Class getPersistentClass() {
		return (this.persistentClass instanceof Class ? (Class) this.persistentClass : null);
	}

	/**
	 * Return the name of the persistent class of the object for which the locking failed.
	 * Will work for both Class objects and String names.
	 */
	public String getPersistentClassName() {
		if (this.persistentClass instanceof Class) {
			return ((Class) this.persistentClass).getName();
		}
		return (this.persistentClass != null ? this.persistentClass.toString() : null);
	}

	/**
	 * Return the identifier of the object for which the locking failed.
	 */
	public Object getIdentifier() {
		return identifier;
	}

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图欧美激情| 色综合久久久久久久久久久| 国产激情视频一区二区在线观看| jlzzjlzz亚洲女人18| 欧美大片一区二区三区| 最新国产成人在线观看| 精品在线一区二区| 欧美色倩网站大全免费| 国产精品久久久久久久久快鸭| 青青草原综合久久大伊人精品优势 | 久久久久久夜精品精品免费| 亚洲免费伊人电影| 国产精品一区二区视频| 欧美电影在线免费观看| 一区二区三区四区乱视频| 国产成人鲁色资源国产91色综| 在线播放一区二区三区| 亚洲三级久久久| 成人网男人的天堂| 26uuu另类欧美| 免费观看在线综合| 欧美一区二区三区免费观看视频| 亚洲欧美视频在线观看| 99国产精品久久久久| 国产欧美一区在线| 国产精品69久久久久水密桃| 日韩一卡二卡三卡| 免费欧美在线视频| 欧美一级片在线观看| 青青草伊人久久| 欧美一级片在线| 久久不见久久见免费视频1| 欧美一级日韩一级| 狂野欧美性猛交blacked| 日韩一级黄色片| 久久精品噜噜噜成人88aⅴ| 日韩视频免费观看高清完整版| 日本不卡视频在线| 欧美麻豆精品久久久久久| 水蜜桃久久夜色精品一区的特点| 91精品在线麻豆| 日本不卡免费在线视频| 日韩一区二区电影网| 国产揄拍国内精品对白| 国产午夜精品久久久久久免费视| 国产乱人伦偷精品视频免下载| 日本一区二区三区dvd视频在线| 成人免费毛片嘿嘿连载视频| 国产精品女主播av| 午夜欧美在线一二页| 欧美一区二区三区性视频| 久久久噜噜噜久久中文字幕色伊伊 | 福利91精品一区二区三区| 欧洲国内综合视频| 国产精品亚洲а∨天堂免在线| 久久久三级国产网站| 国产一区二区三区精品欧美日韩一区二区三区 | 国产精品一品视频| 久久人人爽爽爽人久久久| 粉嫩av一区二区三区粉嫩| 亚洲色图19p| 3d成人h动漫网站入口| 极品少妇一区二区三区精品视频 | 欧美视频你懂的| 蜜臀99久久精品久久久久久软件| 欧美成人乱码一区二区三区| 成人午夜视频在线观看| 亚洲成人精品一区| 国产欧美一区二区在线观看| 欧美日韩免费观看一区二区三区| 久久精品国产秦先生| 亚洲欧美视频在线观看视频| 欧美人狂配大交3d怪物一区| 国产一区二区主播在线| 亚洲影视在线观看| 国产精品午夜电影| 欧美精品自拍偷拍| jlzzjlzz亚洲女人18| 美美哒免费高清在线观看视频一区二区| 国产欧美视频一区二区| 欧美日韩色一区| 成人精品鲁一区一区二区| 亚洲成a人v欧美综合天堂下载| 久久免费偷拍视频| 91精品国产色综合久久不卡蜜臀 | 91麻豆免费观看| 国内偷窥港台综合视频在线播放| 一区二区国产盗摄色噜噜| 久久麻豆一区二区| 日韩欧美亚洲国产另类| 在线观看视频一区二区欧美日韩| 国产精品18久久久久| 日本不卡免费在线视频| 久久99国产精品麻豆| 一区二区三区日韩精品视频| 国产欧美精品区一区二区三区| 欧美日韩mp4| 色屁屁一区二区| 不卡一区在线观看| 国产麻豆成人精品| 男男视频亚洲欧美| 日本不卡的三区四区五区| 亚洲最新在线观看| 亚洲色图欧洲色图| 亚洲欧美日韩久久| 亚洲人成精品久久久久| 欧美国产日韩亚洲一区| 久久久天堂av| 久久久91精品国产一区二区三区| 日韩欧美一区在线| 日韩一区二区三区视频在线| 欧美在线一区二区| 欧美午夜宅男影院| 在线观看日韩av先锋影音电影院| 色偷偷成人一区二区三区91| 成人教育av在线| 成人app在线| 99精品在线观看视频| 97精品久久久午夜一区二区三区| 成人av电影免费在线播放| 99精品久久只有精品| 99国产精品一区| 91久久久免费一区二区| 欧美视频中文字幕| 91精品免费在线| 26uuu久久天堂性欧美| 久久精品欧美一区二区三区不卡 | 美女视频网站久久| 国产毛片精品视频| 成人激情文学综合网| 99久久国产综合精品色伊| 在线国产亚洲欧美| 欧美一区二区三区在线视频| 欧美大片日本大片免费观看| 欧美一区二区黄色| 国产拍欧美日韩视频二区| 亚洲手机成人高清视频| 亚洲高清久久久| 国产在线视频一区二区三区| 成人午夜短视频| 日韩三级中文字幕| 久久一二三国产| 中文字幕一区二区三区不卡在线| 亚洲五码中文字幕| 国产又黄又大久久| 欧美综合一区二区三区| 日韩欧美国产精品| 亚洲三级视频在线观看| 免费观看成人鲁鲁鲁鲁鲁视频| 国产精品一区二区久久精品爱涩| 91美女片黄在线观看91美女| 欧美一区二区三区四区五区| 久久精品欧美一区二区三区麻豆| 一区二区三区四区av| 国产乱码精品一区二区三| 色婷婷av一区二区三区软件| 欧美mv和日韩mv国产网站| 亚洲欧美一区二区不卡| 久久国产精品第一页| 91高清视频免费看| 国产欧美一区二区精品性色超碰| 亚洲一二三级电影| bt欧美亚洲午夜电影天堂| 91精品国产色综合久久ai换脸| 国产精品美女久久久久av爽李琼| 五月天一区二区三区| 91麻豆文化传媒在线观看| 久久香蕉国产线看观看99| 婷婷综合另类小说色区| 91在线免费视频观看| 日韩免费一区二区三区在线播放| 亚洲欧美乱综合| 福利一区福利二区| 精品少妇一区二区三区日产乱码 | 99久久免费精品高清特色大片| 日韩一级黄色片| 亚洲电影在线免费观看| 91丨porny丨国产| 日本一区二区三区高清不卡 | 波多野结衣的一区二区三区| 欧美一级理论性理论a| 亚洲主播在线播放| 色94色欧美sute亚洲线路一ni| 国产欧美日韩另类一区| 卡一卡二国产精品| 91精品婷婷国产综合久久竹菊| 亚洲最新在线观看| 日本二三区不卡| 亚洲欧美日韩国产中文在线| www.欧美日韩| 中文一区二区在线观看| 国产一区二区剧情av在线| 日韩欧美国产麻豆| 国产1区2区3区精品美女| 精品国产制服丝袜高跟| 麻豆91精品91久久久的内涵| 制服丝袜国产精品| 日韩 欧美一区二区三区| 欧美一区二区精品| 麻豆精品一区二区三区|