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 */
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);
CLogMgt.setLevel(Level.FINE);
@ -52,7 +52,7 @@ public class SignDatabaseBuild
updateStmt.executeUpdate();
} catch (Exception ex) {
throw ex;
ex.printStackTrace();
} finally {
DB.close(updateStmt);
}