Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getStatus()
      Get status of error.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • YTranslateApiException

        public YTranslateApiException​(int status)
    • Method Detail

      • getStatus

        public int getStatus()
        Get status of error. See ApiStatus.
        Returns:
        error status