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