exceptions.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- coding: utf-8 -*-
00003 
00004 
00005 class RospeexException(Exception):
00006     """
00007     rospeex exception class
00008 
00009     this exception class is base of rospeex exception classes.
00010     """
00011     pass
00012 
00013 
00014 class ParameterException(RospeexException):
00015     """
00016     Parameter exception class
00017 
00018     this exception is used to notify parameter error.
00019     like None, parameter type, etc.
00020     """
00021     pass
00022 
00023 
00024 class UnsupportedLanguageException(ParameterException):
00025     """
00026     Unsupported Language Exception
00027 
00028     this exception is used to notify language parameter error.
00029     """
00030     pass
00031 
00032 
00033 class InvalidAudioDataException(ParameterException):
00034     """
00035     Invalid Audio Data Exception
00036 
00037     this exceptions is used to notify audio data parameter error.
00038     """
00039     pass
00040 
00041 
00042 class SpeechSynthesisException(RospeexException):
00043     """
00044     Speech Synthesis Exception
00045 
00046     this exception occures in rospeex syntesis node.
00047     """
00048     pass
00049 
00050 
00051 class WaveConvertException(SpeechSynthesisException):
00052     """
00053     Wave Convert Exception
00054 
00055     this exception occures in rospeex syntesis node.
00056     """
00057     pass
00058 
00059 
00060 class SpeechRecognitionException(RospeexException):
00061     """
00062     Speech Recognition Exception
00063 
00064     this exception occures in rospeex recognition node.
00065     """
00066     pass
00067 
00068 
00069 class STMLFormatException(SpeechRecognitionException):
00070     """ STML Format Exception
00071     """
00072     pass
00073 
00074 
00075 class AsyncProtocolException(SpeechRecognitionException):
00076     """ Async Protocol Exception
00077     """
00078     pass
00079 
00080 
00081 class AsyncSRException(AsyncProtocolException):
00082     """ Asnyc SR Exception
00083     """
00084     pass
00085 
00086 
00087 class InvalidRequestTypeException(AsyncSRException):
00088     """ Invalid Request Type Exception
00089     """
00090     pass
00091 
00092 
00093 class InvalidPacketTypeException(AsyncSRException):
00094     """ Invalid Packet Type Exception
00095     """
00096     pass
00097 
00098 
00099 class InvalidSessionStateException(AsyncSRException):
00100     """ Invalid Packet Type Exception
00101     """
00102     pass
00103 
00104 
00105 class SignalProcessingInterfaceException(RospeexException):
00106     """
00107     Signal Processing Interface Exception
00108 
00109     this exception occures in rospeex signal processing interface node.
00110     """
00111     pass
00112 
00113 
00114 class NICTmmcvError(SignalProcessingInterfaceException, IOError):
00115     """
00116     NICTmmcv Error class
00117     """
00118     pass
00119 
00120 
00121 class ServerException(RospeexException):
00122     """
00123     Server Exception
00124 
00125     this exception is occured by server request / response.
00126     """
00127     pass
00128 
00129 
00130 class InvalidRequestException(ServerException):
00131     """
00132     Invalid Request Exception
00133     """
00134     pass
00135 
00136 
00137 class InvalidResponseException(ServerException):
00138     """
00139     Invalid Response Exception
00140     """
00141     pass
00142 
00143 
00144 class RequestTimeoutException(ServerException):
00145     """
00146     Server timeout exception
00147     """
00148     pass
00149 
00150 
00151 class WebAudioMonitorException(SignalProcessingInterfaceException):
00152     """
00153     WebAudioMonitor Exception class
00154     """
00155     pass
00156 
00157 
00158 class InvalidDataHeaderException(SignalProcessingInterfaceException):
00159     """
00160     Invalid Data Header Exception class
00161     """
00162     pass


rospeex_core
Author(s): Komei Sugiura
autogenerated on Thu Apr 20 2017 03:08:53