1 21 22 package org.apache.derby.impl.jdbc; 23 24 import java.io.IOException ; 25 import org.apache.derby.iapi.error.ExceptionSeverity; 26 import org.apache.derby.iapi.reference.SQLState; 27 import org.apache.derby.iapi.error.StandardException; 28 import org.apache.derby.iapi.services.i18n.MessageService; 29 import org.apache.derby.iapi.reference.MessageId; 30 31 import java.sql.SQLException ; 32 33 37 public class SQLExceptionFactory { 38 43 public SQLException getSQLException(String message, String messageId, 44 SQLException next, int severity, Throwable t, Object [] args) { 45 return new EmbedSQLException(message, messageId, next, severity, 46 t, args); 47 } 48 49 57 public SQLException getArgumentFerry(SQLException se) 58 { 59 return se; 60 } 61 62 } 63 | Popular Tags |