Class YTranslateApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.vbauer.yta.service.basic.exception.YTranslateException
-
- com.github.vbauer.yta.service.basic.exception.YTranslateApiException
-
- All Implemented Interfaces:
java.io.Serializable
public class YTranslateApiException extends YTranslateException
Exception class for problems corresponding to Yandex Translate API service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YTranslateApiException(int status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
Get status of error.
-
-
-
Method Detail
-
getStatus
public int getStatus()
Get status of error. SeeApiStatus
.- Returns:
- error status
-
-