Class GoogleMTv3ErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.okapi.connectors.google.v3.GoogleMTv3ErrorException
-
- All Implemented Interfaces:
Serializable
public class GoogleMTv3ErrorException extends Exception
Exception thrown when Google Cloud Translation API v3 returns an error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GoogleMTv3ErrorException(int code, String message, String query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()StringgetQuery()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-