public class SpeechletException extends Exception
Speechlet can throw when encountering difficulty while
processing a request.Speechlet,
Serialized Form| Constructor and Description |
|---|
SpeechletException()
Constructs a new exception with null as its detail message.
|
SpeechletException(String message)
Constructs a new exception with the specified detail message.
|
SpeechletException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
SpeechletException(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 SpeechletException()
public SpeechletException(String message)
message - the detail messagepublic SpeechletException(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 unknownpublic SpeechletException(String message, Throwable cause)
message - the detail messagecause - the cause. A null value is permitted, and indicates that the cause is
nonexistent or unknownCopyright © 2016. All rights reserved.