Class ExceptionElement

java.lang.Object
com.broadleafcommerce.orchestration.client.ExceptionElement

public class ExceptionElement extends Object
Represents a historical note for a bubbled runtime exception
  • Constructor Details

    • ExceptionElement

      public ExceptionElement(String name, Instant startTime, Instant endTime, String errorInformation)
    • ExceptionElement

      public ExceptionElement()
  • Method Details

    • getName

      public String getName()
      The name for this item. Usually points to SimpleActivity.getName() or SimpleWorkflow.getName()
    • getStartTime

      public Instant getStartTime()
      The time execution was started for this item
    • getEndTime

      public Instant getEndTime()
      The time execution was concluded for this item
    • getErrorInformation

      public String getErrorInformation()
      Any error information related to a failed state. Usually a stack trace.
    • getResultingContext

      public Map<String,Object> getResultingContext()
      Any context information the activity wants to add to the main context
    • setName

      public void setName(String name)
      The name for this item. Usually points to SimpleActivity.getName() or SimpleWorkflow.getName()
    • setStartTime

      public void setStartTime(Instant startTime)
      The time execution was started for this item
    • setEndTime

      public void setEndTime(Instant endTime)
      The time execution was concluded for this item
    • setErrorInformation

      public void setErrorInformation(String errorInformation)
      Any error information related to a failed state. Usually a stack trace.
    • setResultingContext

      public void setResultingContext(Map<String,Object> resultingContext)
      Any context information the activity wants to add to the main context
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object