Sets the exception.
public void setException (final Exception aException)
RequestStateElement element; element.setException(new Exception());