StringBuffer detailMsg = new StringBuffer( ); do
StringWriter out = new StringWriter( ); PrintWriter print = new PrintWriter( out ); try
	private String getDetailMessage( Throwable t )	{		StringBuffer detailMsg = new StringBuffer( );		do		{			detailMsg.append( t.getLocalizedMessage( ) );			detailMsg.append( (char) Character.LINE_SEPARATOR );			t = t.getCause( );		} while ( t != null );		return detailMsg.toString( );	}