【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-ViolatedConstraintNameExtracter.java的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
// $Id: ViolatedConstraintNameExtracter.java 4746 2004-11-11 20:57:28Z steveebersole $
package org.hibernate.exception;
import java.sql.SQLException;
/**
* Defines a contract for implementations that can extract the name of a violated
* constraint from a SQLException that is the result of that constraint violation.
*
* @author Steve Ebersole
*/
public interface ViolatedConstraintNameExtracter {
/**
* Extract the name of the violated constraint from the given SQLException.
*
* @param sqle The exception that was the result of the constraint violation.
* @return The extracted constraint name.
*/
public String extractConstraintName(SQLException sqle);
}
上一篇:
VindicateNoteDialog.java
下一篇:
关于大学英语教学