public abstract class OLAPIException extends java.lang.Exception implements HasLocalizedMessage
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage()
Gets a message in the language specified by the default
java.util.Locale . |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Gets a message in the language specified by the
java.util.Locale object. |
java.lang.String |
toString()
Gets the message for this
OLAPIException . |
public java.lang.String getLocalizedMessage(java.util.Locale locale)
java.util.Locale
object.getLocalizedMessage
in interface HasLocalizedMessage
locale
- The Locale
object that specifies the language for the message.String
that has the message in the specified language.public java.lang.String getLocalizedMessage()
java.util.Locale
.getLocalizedMessage
in class java.lang.Throwable
String
that has the message in the language of the default Locale
.public java.lang.String toString()
OLAPIException
.toString
in class java.lang.Throwable
String
that has the message for this OLAPIException
.