getLocale( ) ) ) + 5;
getULocale( ) ) ) + 5;
	public void presentException( Exception cexp )	{		if ( _bo == null )		{			_bo = BoundsImpl.create( 0, 0, 400, 300 );		}		String sWrappedException = cexp.getClass( ).getName( );		while ( cexp.getCause( ) != null )		{			cexp = (Exception) cexp.getCause( );		}		String sException = cexp.getClass( ).getName( );		if ( sWrappedException.equals( sException ) )		{			sWrappedException = null;		}		String sMessage = cexp.getMessage( );		StackTraceElement[] stea = cexp.getStackTrace( );		Dimension d = new Dimension( (int) _bo.getWidth( ),				(int) _bo.getHeight( ) );		Font fo = new Font( "Monospaced", Font.BOLD, 14 ); //$NON-NLS-1$		_g2d.setFont( fo );		FontMetrics fm = _g2d.getFontMetrics( );		_g2d.setColor( Color.WHITE );		_g2d.fillRect( 20, 20, d.width - 40, d.height - 40 );		_g2d.setColor( Color.BLACK );		_g2d.drawRect( 20, 20, d.width - 40, d.height - 40 );		_g2d.setClip( 20, 20, d.width - 40, d.height - 40 );		int x = 25, y = 20 + fm.getHeight( );		_g2d.drawString( Messages.getString( "exception.caption", getLocale( ) ), x, y ); //$NON-NLS-1$		x += fm.stringWidth( Messages.getString( "exception.caption",//$NON-NLS-1$				getLocale( ) ) ) + 5;		_g2d.setColor( Color.RED );		_g2d.drawString( sException, x, y );		x = 25;		y += fm.getHeight( );		if ( sWrappedException != null )		{			_g2d.setColor( Color.BLACK );			_g2d.drawString( Messages.getString( "wrapped.caption", getLocale( ) ), x, y ); //$NON-NLS-1$			x += fm.stringWidth( Messages.getString( "wrapped.caption",//$NON-NLS-1$					getLocale( ) ) ) + 5;			_g2d.setColor( Color.RED );			_g2d.drawString( sWrappedException, x, y );			x = 25;			y += fm.getHeight( );		}		_g2d.setColor( Color.BLACK );		y += 10;		_g2d.drawString( Messages.getString( "message.caption", getLocale( ) ), x, y ); //$NON-NLS-1$		x += fm.stringWidth( Messages.getString( "message.caption", getLocale( ) ) ) + 5; //$NON-NLS-1$		_g2d.setColor( Color.BLUE );		_g2d.drawString( sMessage, x, y );		x = 25;		y += fm.getHeight( );		_g2d.setColor( Color.BLACK );		y += 10;		_g2d.drawString( Messages.getString( "trace.caption", getLocale( ) ), x, y );x = 40;y += fm.getHeight( ); //$NON-NLS-1$		_g2d.setColor( Color.GREEN.darker( ) );		for ( int i = 0; i < stea.length; i++ )		{			_g2d.drawString( Messages.getString( "trace.detail",//$NON-NLS-1$					new Object[]{							stea[i].getClassName( ),							stea[i].getMethodName( ),							String.valueOf( stea[i].getLineNumber( ) )					},					getLocale( ) ), x, y );			x = 40;			y += fm.getHeight( );		}	}