Class CitrusRuntimeException

    • Constructor Detail

      • CitrusRuntimeException

        public CitrusRuntimeException()
        Default constructor.
      • CitrusRuntimeException

        public CitrusRuntimeException​(String message)
        Constructor using fields.
        Parameters:
        message -
      • CitrusRuntimeException

        public CitrusRuntimeException​(Throwable cause)
        Constructor using fields.
        Parameters:
        cause -
      • CitrusRuntimeException

        public CitrusRuntimeException​(String message,
                                      Throwable cause)
        Constructor using fields.
        Parameters:
        message -
        cause -
    • Method Detail

      • getFailureStackAsString

        public String getFailureStackAsString()
        Get formatted string representation of failure stack information.
        Returns:
      • setFailureStack

        public void setFailureStack​(List<FailureStackElement> failureStack)
        Sets the custom failure stack holding line number information inside test case.
        Parameters:
        failureStack -
      • getFailureStack

        public Stack<FailureStackElement> getFailureStack()
        Gets the custom failure stack with line number information where the testcase failed.
        Returns:
        the failureStack