Package com.google.cloud.translate
Class TranslateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.cloud.BaseServiceException
-
- com.google.cloud.http.BaseHttpServiceException
-
- com.google.cloud.translate.TranslateException
-
- All Implemented Interfaces:
Serializable
public class TranslateException extends com.google.cloud.http.BaseHttpServiceException
Google Translation service exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TranslateException(IOException exception)
-
Method Summary
-
Methods inherited from class com.google.cloud.BaseServiceException
equals, getCode, getDebugInfo, getLocation, getReason, hashCode, isRetryable, isRetryable, isRetryable, translate, translate
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TranslateException
public TranslateException(IOException exception)
-
-