Package com.identity4j.util.i18n
Class LocalizableRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.identity4j.util.i18n.LocalizableRuntimeException
-
- All Implemented Interfaces:
Entity,Identifiable<String>,LocalizableEntity,Serializable
public class LocalizableRuntimeException extends RuntimeException implements LocalizableEntity
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalizableRuntimeException()LocalizableRuntimeException(String bundle, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBundleName()Get the bundle name for the entityStringgetId()Get the unique identifier for this entity.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:EntityGet the unique identifier for this entity. The Entity ID need only be unique in the context it is going to be used in.- Specified by:
getIdin interfaceEntity- Specified by:
getIdin interfaceIdentifiable<String>- Returns:
- entity ID
-
getBundleName
public String getBundleName()
Description copied from interface:LocalizableEntityGet the bundle name for the entity- Specified by:
getBundleNamein interfaceLocalizableEntity- Returns:
- the bundle name
-
-