public abstract class OLAPIIllegalStateException extends java.lang.IllegalStateException implements HasLocalizedMessage
DataProvider
or Transaction
does not support it.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
OLAPIIllegalStateException . |
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()
OLAPIIllegalStateException
.toString
in class java.lang.Throwable
String
that has the message for this OLAPIIllegalStateException
.