SignDatabaseBuild - throw exception cause problem with shell scripting.

This commit is contained in:
Heng Sin Low 2008-12-07 10:09:34 +00:00
parent 0654a5c6a7
commit d40a330ff9
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public class SignDatabaseBuild
/** Static Logger */ /** Static Logger */
private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class); private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class);
public static void main(String[] args) throws Exception public static void main(String[] args)
{ {
Adempiere.startupEnvironment(false); Adempiere.startupEnvironment(false);
CLogMgt.setLevel(Level.FINE); CLogMgt.setLevel(Level.FINE);
@ -52,7 +52,7 @@ public class SignDatabaseBuild
updateStmt.executeUpdate(); updateStmt.executeUpdate();
} catch (Exception ex) { } catch (Exception ex) {
throw ex; ex.printStackTrace();
} finally { } finally {
DB.close(updateStmt); DB.close(updateStmt);
} }