Changeset 2463
- Timestamp:
- 09/19/08 10:59:02 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/otis/src/org/bandit/otis/server/EntityHandler.java
r2462 r2463 994 994 catch (IdASException e) 995 995 { 996 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();997 e.printStackTrace( new java.io.PrintStream( trace));998 996 throwException( new OtisErrMsg( "EntityHandler", 999 997 OtisErrMsg.OPTIONAL_STR( "(Entity='" + strEntityID + "', session='" + strSessionID + "')"), 1000 998 ": 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())), 1003 1000 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1004 1001 } … … 1480 1477 catch (IdASException e) 1481 1478 { 1482 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();1483 e.printStackTrace( new java.io.PrintStream( trace));1484 1479 throwException( new OtisErrMsg( "EntityHandler", 1485 1480 OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', " + strAttrContainer + ")"), 1486 1481 ": 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())), 1489 1483 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1490 1484 } … … 1631 1625 catch (IdASException e) 1632 1626 { 1633 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();1634 e.printStackTrace( new java.io.PrintStream( trace));1635 1627 throwException( new OtisErrMsg( "EntityHandler", 1636 1628 OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', " + strAttrContainer + ")"), 1637 1629 ": 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())), 1640 1631 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1641 1632 } … … 1767 1758 catch (IdASException e) 1768 1759 { 1769 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();1770 e.printStackTrace( new java.io.PrintStream( trace));1771 1760 throwException( new OtisErrMsg( "EntityHandler", 1772 1761 OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', Entity='" + strEntityID + "')"), 1773 1762 ": 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())), 1776 1764 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1777 1765 } … … 1834 1822 catch (IdASException e) 1835 1823 { 1836 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();1837 e.printStackTrace( new java.io.PrintStream( trace));1838 1824 throwException( new OtisErrMsg( "EntityHandler", 1839 1825 OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "', Entity='" + strEntityID + "')"), 1840 1826 ": 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())), 1843 1828 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1844 1829 } … … 1933 1918 catch (IdASException e) 1934 1919 { 1935 java.io.ByteArrayOutputStream trace = new java.io.ByteArrayOutputStream();1936 e.printStackTrace( new java.io.PrintStream( trace));1937 1920 throwException( new OtisErrMsg( "EntityHandler", 1938 1921 OtisErrMsg.OPTIONAL_STR( "(session='" + strSessionID + "')"), 1939 1922 ": 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())), 1942 1924 e, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, responseMap); 1943 1925 }