Class ExceptionInChainedStubException

  • All Implemented Interfaces:
    Serializable

    public class ExceptionInChainedStubException
    extends RuntimeException
    A special exception to indicate that an exception occurred in the nested call of a chained stub. The exception's only purpose is to be identifiable as such and to carry the cause exception.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExceptionInChainedStubException

        public ExceptionInChainedStubException​(String taskName,
                                               Exception wrappedException)
    • Method Detail

      • getTaskName

        public String getTaskName()
      • getWrappedException

        public Exception getWrappedException()