public class ExceptionEncounteredRequest extends SystemRequest
Intent for SpeechletV2 invocation.| Modifier and Type | Class and Description |
|---|---|
static class |
ExceptionEncounteredRequest.Builder
Builder used to construct a new
ErrorOccurredRequest. |
SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest>| Modifier | Constructor and Description |
|---|---|
protected |
ExceptionEncounteredRequest(String requestId,
Date timestamp,
Locale locale,
Error error,
ErrorCause cause)
Protected constructor used for JSON serialization and for extending this class.
|
| Modifier and Type | Method and Description |
|---|---|
static ExceptionEncounteredRequest.Builder |
builder()
Returns a new builder instance used to construct a new
ErrorOccurredRequest. |
ErrorCause |
getCause() |
Error |
getError() |
getLocale, getRequestId, getTimestampprotected ExceptionEncounteredRequest(String requestId, Date timestamp, Locale locale, Error error, ErrorCause cause)
requestId - the request identifiertimestamp - the request timestamplocale - the locale of the requesterror - the error the request is communicatingcause - the cause of the request errorpublic static ExceptionEncounteredRequest.Builder builder()
ErrorOccurredRequest.public Error getError()
public ErrorCause getCause()
Copyright © 2016. All rights reserved.