code: private void setDetailsVisible(boolean detailsVisible) {
  		detailsLayout.setVisible(detailsVisible);
  		if (detailsVisible) {
  			setAutoSize(false);
  			expandButton.setTitle(MESSAGES.exceptionDetailsHide());
  			setHeight(WidgetLayout.exceptionWindowHeightDetails);
  		} else {
  			expandButton.setTitle(MESSAGES.exceptionDetailsView());
  			setHeight(WidgetLayout.exceptionWindowHeightNormal);
  		}
  	}
docs: Toggle the visibility of the exception details.
  
  @param detailsVisible should details be visible