public class SpeechletRequestHandlerException extends Exception
SpeechletRequestHandler can throw when something
about the request isn't correct. This is separate from problems encountered from within the
SpeechletV2.SpeechletV2,
Serialized Form| Constructor and Description |
|---|
SpeechletRequestHandlerException(String message)
Constructs a new exception with the specified detail message.
|
SpeechletRequestHandlerException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and specified cause.
|
SpeechletRequestHandlerException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of
(cause==null ? null : cause.toString()) (which typically contains the class and
detail message of cause). |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SpeechletRequestHandlerException(String message)
message - the detail messagepublic SpeechletRequestHandlerException(Throwable cause)
(cause==null ? null : cause.toString()) (which typically contains the class and
detail message of cause). This constructor is useful for exceptions that are little more than
wrappers for other throwables.cause - the cause. A null value is permitted, and indicates that the cause is
nonexistent or unknown.public SpeechletRequestHandlerException(String message, Throwable cause)
message - the detail messagecause - the cause. A null value is permitted, and indicates that the cause is
nonexistent or unknown.Copyright © 2016. All rights reserved.