From: Juergen H. <jho...@us...> - 2008-10-16 10:29:24
|
Update of /cvsroot/springframework/spring/src/org/springframework/jdbc/support In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23477/src/org/springframework/jdbc/support Modified Files: CustomSQLErrorCodesTranslation.java Log Message: polishing Index: CustomSQLErrorCodesTranslation.java =================================================================== RCS file: /cvsroot/springframework/spring/src/org/springframework/jdbc/support/CustomSQLErrorCodesTranslation.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CustomSQLErrorCodesTranslation.java 25 Mar 2005 09:27:10 -0000 1.4 --- CustomSQLErrorCodesTranslation.java 16 Oct 2008 10:29:12 -0000 1.5 *************** *** 1,11 **** /* ! * Copyright 2002-2005 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, --- 1,11 ---- /* ! * Copyright 2002-2008 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, *************** *** 21,31 **** /** ! * JavaBean for holding Custom JDBC Error Codes translation for a particular ! * database. The exceptionClass property defines which exception will be * thrown for the list of error codes specified in the errorCodes property. * - * <p>Normally loaded through a BeanFactory implementation. - * Used by the SQLErrorCodeSQLExceptionTranslator. - * * @author Thomas Risberg * @since 1.1 --- 21,28 ---- /** ! * JavaBean for holding custom JDBC error codes translation for a particular ! * database. The "exceptionClass" property defines which exception will be * thrown for the list of error codes specified in the errorCodes property. * * @author Thomas Risberg * @since 1.1 *************** *** 37,41 **** private Class exceptionClass; ! /** * Set the SQL error codes to match. --- 34,39 ---- private Class exceptionClass; ! ! /** * Set the SQL error codes to match. *************** *** 49,53 **** */ public String[] getErrorCodes() { ! return errorCodes; } --- 47,51 ---- */ public String[] getErrorCodes() { ! return this.errorCodes; } *************** *** 67,71 **** */ public Class getExceptionClass() { ! return exceptionClass; } --- 65,69 ---- */ public Class getExceptionClass() { ! return this.exceptionClass; } |