detailMsg.append( t.getLocalizedMessage( ) ); detailMsg.append( (char) Character.LINE_SEPARATOR ); t = t.getCause( ); } while ( t != null );  return detailMsg.toString( );
t.printStackTrace( print ); } catch ( Throwable ex ) { } print.flush( ); return out.getBuffer( ).toString( );
	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( );	}