Package com.trafficparrot.sdk.handlebars
Class TPHBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.trafficparrot.sdk.handlebars.TPHBException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TPHBException
Creates the exception.- Parameters:
message- the helper's name and what went wrongcause- the exception the helper threw
-