Changeset 2463

Show
Ignore:
Timestamp:
09/19/08 10:59:02 (4 months ago)
Author:
dsanders
Message:

Took out including of stack trace in error messages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/otis/src/org/bandit/otis/server/EntityHandler.java

    r2462 r2463  
    994994                        catch (IdASException e) 
    995995                        { 
    996                                 java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    997                                 e.printStackTrace( new java.io.PrintStream( trace)); 
    998996                                throwException( new OtisErrMsg( "EntityHandler", 
    999997                                                OtisErrMsg.OPTIONAL_STR( "(Entity='" + strEntityID + "', session='" + strSessionID + "')"), 
    1000998                                                ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1001                                                 OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1002                                                 "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     999                                                OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    10031000                                                e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    10041001                        } 
     
    14801477                        catch (IdASException e) 
    14811478                        { 
    1482                                 java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    1483                                 e.printStackTrace( new java.io.PrintStream( trace)); 
    14841479                                throwException( new OtisErrMsg( "EntityHandler", 
    14851480                                                OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', " + strAttrContainer + ")"), 
    14861481                                                ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1487                                                 OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1488                                                 "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     1482                                                OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    14891483                                                e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    14901484                        } 
     
    16311625                        catch (IdASException e) 
    16321626                        { 
    1633                                 java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    1634                                 e.printStackTrace( new java.io.PrintStream( trace)); 
    16351627                                throwException( new OtisErrMsg( "EntityHandler", 
    16361628                                                OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', " + strAttrContainer + ")"), 
    16371629                                                ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1638                                                 OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1639                                                 "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     1630                                                OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    16401631                                                e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    16411632                        } 
     
    17671758                        catch (IdASException e) 
    17681759                        { 
    1769                                 java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    1770                                 e.printStackTrace( new java.io.PrintStream( trace)); 
    17711760                                throwException( new OtisErrMsg( "EntityHandler", 
    17721761                                                OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', Entity='" + strEntityID + "')"), 
    17731762                                                ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1774                                                 OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1775                                                 "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     1763                                                OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    17761764                                                e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    17771765                        } 
     
    18341822                        catch (IdASException e) 
    18351823                        { 
    1836                                 java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    1837                                 e.printStackTrace( new java.io.PrintStream( trace)); 
    18381824                                throwException( new OtisErrMsg( "EntityHandler", 
    18391825                                                OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', Entity='" + strEntityID + "')"), 
    18401826                                                ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1841                                                 OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1842                                                 "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     1827                                                OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    18431828                                                e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    18441829                        } 
     
    19331918                catch (IdASException e) 
    19341919                { 
    1935                         java.io.ByteArrayOutputStream   trace = new java.io.ByteArrayOutputStream(); 
    1936                         e.printStackTrace( new java.io.PrintStream( trace)); 
    19371920                        throwException( new OtisErrMsg( "EntityHandler", 
    19381921                                        OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "')"), 
    19391922                                        ": Exception " + e.getClass().getName() + " occurred calling applyUpdates", 
    1940                                         OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage()), 
    1941                                         "\nJAVA STACK TRACE: " + trace.toString() + "\n"), 
     1923                                        OtisErrMsg.OPTIONAL_STR( ": " + e.getMessage())), 
    19421924                                        e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 
    19431925                }