protected void showError ( Throwable cause , Widget near ) { if ( near == null ) { Popups . error ( formatError ( cause ) ) ; } else { Popups . errorBelow ( formatError ( cause ) , near ) ; } }
Displays a popup reporting the specified error near the specified widget if it is non - null .