code: private String getDetails(ExceptionDto error) {
  		if (null == error) {
  			return "";
  		}
  		StringBuilder content = new StringBuilder();
  		String header = error.getClassName();
  		if (error.getExceptionCode() != 0) {
  			header += " (" + error.getExceptionCode() + ")";
  		}
  		content.append(HtmlBuilder.divStyle(WidgetLayout.exceptionWindowDetailHeaderStyle, header));
  		for (StackTraceElement el : error.getStackTrace()) {
  			String style =  WidgetLayout.exceptionWindowDetailTraceNormalStyle;
  			String line = el.toString();
  			if ((line.startsWith("org.geomajas.") && !line.startsWith("org.geomajas.example.")) ||
  					line.startsWith("org.springframework.") ||
  					line.startsWith("org.hibernate.") ||
  					line.startsWith("org.hibernatespatial.") ||
  					line.startsWith("org.geotools.") ||
  					line.startsWith("com.vividsolutions.") ||
  					line.startsWith("org.mortbay.jetty.") ||
  					line.startsWith("sun.") ||
  					line.startsWith("java.") ||
  					line.startsWith("javax.") ||
  					line.startsWith("com.google.") ||
  					line.startsWith("$Proxy")) {
  				style = WidgetLayout.exceptionWindowDetailTraceLessStyle;
  			}
  			content.append(HtmlBuilder.divStyle(style, line));
  		}
  		content.append(getDetails(error.getCause()));
  		return content.toString();
  	}
docs: Build details message for an exception.
  
  @param error error to build message for
  @return HTML string with details message