getHTMLBody method

String getHTMLBody()

Returns HTML body if not null otherwise throws an exception

Implementation

String getHTMLBody() {
  if (HTMLBody == null) {
    throw Exception('HTMLBody is null, cannot be acquired');
  }
  return HTMLBody as String;
}