public interface LocalizedException
getMessage()returns the message in the default locale. In a client-server architecture, this is often the locale on the server side.
getLocalizedMessage()returns the message in a locale that depends on the context in which the exception has been thrown. This is often the locale used by a
DataStoreinstance, and can be presumed to be the locale on the client side.
getInternationalMessage()may return the message in arbitrary locale (optional operation). This method is specific to Apache SIS.
LocalizedExceptionmay use any locale (not necessarily the default one), and
LocalizedExceptionused as wrappers around other exception usually lost their localization capability.
Defined in the
|Modifier and Type||Method and Description|
If this exception is capable to return the message in various locales, returns that message.
Returns the message in the locale that depends on the context in which this exception has been thrown.
Returns the message in the default locale.
nullif this exception can not produce international message.
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.