⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assertionfailure.java

📁 用Java实现的23个常用设计模式源代码
💻 JAVA
字号:
//$Id: AssertionFailure.java,v 1.4.2.3 2003/10/25 07:43:51 oneovthafew Exp $package net.sf.hibernate;import net.sf.hibernate.exception.NestableRuntimeException;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;/** * Indicates failure of an assertion: a possible bug in Hibernate. * * @author Gavin King */public class AssertionFailure extends NestableRuntimeException {		private static final Log log = LogFactory.getLog(AssertionFailure.class);	public AssertionFailure(String s) {		super(s);		log.error("An AssertionFailure occured - this may indicate a bug in Hibernate", this);	}		public AssertionFailure(String s, Throwable t) {		super(s, t);		log.error("An AssertionFailure occured - this may indicate a bug in Hibernate", t);	}	}

⌨️ 快捷键说明

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