IvrTemplateException

public class IvrTemplateException extends RuntimeException

The IvrTemplateException is 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)

IvrTemplateException

public IvrTemplateException(String message, HttpStatus errorCode)

Methods

getErrorCode

public HttpStatus getErrorCode()