Serialized Form


Package mazz.i18n

Class mazz.i18n.Msg extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
ResourceBundle is not serializable so this deserializes the base bundle name and the locale with the hopes that this will be enough to look up the message. This assumes the new place where this object is being deserialized has the resource bundle available. If it does not, the original message will be reused.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
ResourceBundle is not serializable so this serializes the base bundle name and the locale with the hopes that this will be enough to look up the message again when this instance is deserialized. This assumes the new place where this object was deserialized has the resource bundle available. If it does not, the original message will be reused.

Throws:
java.io.IOException
Serialized Fields

m_bundleBaseName

Msg.BundleBaseName m_bundleBaseName
The resource bundle's base name, used in conjunction with the locale to determine which actual resource bundle to find the message in.


m_locale

java.util.Locale m_locale
The locale used to determine which actual resource bundle to find the message in.


m_lastMessage

java.lang.String m_lastMessage
The bundle message that was found last.


m_lastKey

java.lang.String m_lastKey
The last resource bundle key that was used to get the last message.


m_lastVarargs

java.lang.Object[] m_lastVarargs
The last set of variable arguments that was used to get the last message. This may be null if this instance never retreived a message or this instance was serialized and one or more of the vararg objects was not serializable.

Class mazz.i18n.Msg.BundleBaseName extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

m_name

java.lang.String m_name

Package mazz.i18n.exception

Class mazz.i18n.exception.LocalizedException extends java.lang.Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

m_msg

Msg m_msg

Class mazz.i18n.exception.LocalizedRuntimeException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

m_msg

Msg m_msg



Copyright © 2006 John J. Mazzitelli All Rights Reserved. Licensed under LGPL