IvrTemplateException¶
-
public class
IvrTemplateExceptionextends RuntimeException¶ The
IvrTemplateExceptionis a custom exception that can be thrown from templates. Using this exception you can control the error code in HTTP responses.
Constructors¶
IvrTemplateException¶
-
public
IvrTemplateException(String message, HttpStatus errorCode)¶
Methods¶
getErrorCode¶
-
public HttpStatus
getErrorCode()¶