1 21 22 package org.apache.derby.iapi.error; 23 24 import java.sql.SQLException ; 25 26 import org.apache.derby.impl.jdbc.EmbedSQLException; 27 28 29 38 public class PublicAPI 39 { 40 44 public static SQLException wrapStandardException(StandardException se) { 45 return EmbedSQLException.wrapStandardException(se.getMessage(), 46 se.getMessageId(), se.getSeverity(), se); 47 } 48 } 49 | Popular Tags |