Class TPHBException

All Implemented Interfaces:
Serializable

public class TPHBException extends RuntimeException
A Handlebars helper error that fails the request: what TrafficParrotHelper.apply(T, com.github.jknack.handlebars.Options) throws in place of the helper's own exception when trafficparrot.virtualservice.handlebars.throwErrors is true.
See Also:
  • Constructor Details

    • TPHBException

      public TPHBException(String message, Throwable cause)
      Creates the exception.
      Parameters:
      message - the helper's name and what went wrong
      cause - the exception the helper threw