public class RosetteUnsupportedLanguageException extends RosetteRuntimeException
Constructor and Description |
---|
RosetteUnsupportedLanguageException()
Deprecated.
As of version 35.5.0. Use constructors with
LanguageCode |
RosetteUnsupportedLanguageException(LanguageCode language)
Constructs an
RosetteUnsupportedLanguageException with the
specified language. |
RosetteUnsupportedLanguageException(LanguageCode language,
String message)
Constructs an
RosetteUnsupportedLanguageException with the
specified language and detail message. |
RosetteUnsupportedLanguageException(LanguageCode language,
String message,
Throwable cause)
Constructs an
RosetteUnsupportedLanguageException with the
specified language, detail message, and cause. |
RosetteUnsupportedLanguageException(LanguageCode language,
Throwable cause)
Constructs an
RosetteUnsupportedLanguageException with the
specified language and cause. |
RosetteUnsupportedLanguageException(String message)
Deprecated.
As of version 35.5.0. Use constructors with
LanguageCode |
RosetteUnsupportedLanguageException(String message,
Throwable cause)
Deprecated.
As of version 35.5.0. Use constructors with
LanguageCode |
RosetteUnsupportedLanguageException(Throwable cause)
Deprecated.
As of version 35.5.0. Use constructors with
LanguageCode |
Modifier and Type | Method and Description |
---|---|
LanguageCode |
getLanguage()
Returns the language associated with this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RosetteUnsupportedLanguageException()
LanguageCode
@Deprecated public RosetteUnsupportedLanguageException(String message, Throwable cause)
LanguageCode
@Deprecated public RosetteUnsupportedLanguageException(String message)
LanguageCode
@Deprecated public RosetteUnsupportedLanguageException(Throwable cause)
LanguageCode
public RosetteUnsupportedLanguageException(LanguageCode language)
RosetteUnsupportedLanguageException
with the
specified language.language
- languagepublic RosetteUnsupportedLanguageException(LanguageCode language, String message)
RosetteUnsupportedLanguageException
with the
specified language and detail message.language
- languagemessage
- messagepublic RosetteUnsupportedLanguageException(LanguageCode language, Throwable cause)
RosetteUnsupportedLanguageException
with the
specified language and cause.language
- languagecause
- casepublic RosetteUnsupportedLanguageException(LanguageCode language, String message, Throwable cause)
RosetteUnsupportedLanguageException
with the
specified language, detail message, and cause.language
- languagemessage
- messagecause
- causepublic LanguageCode getLanguage()
Copyright © 2016 Basis Technology Corporation. All Rights Reserved.