org.jboss.weld.exceptions
Class InvalidObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.InvalidObjectException
org.jboss.weld.exceptions.InvalidObjectException
- All Implemented Interfaces:
- Serializable
public class InvalidObjectException
- extends InvalidObjectException
An extended version of InvalidObjectException
that supports
localization.
- Author:
- David Allen
- See Also:
- Serialized Form
Constructor Summary |
InvalidObjectException(E key,
Object... args)
Creates a new exception with the given localized message key and optional
arguments for the message. |
InvalidObjectException
public InvalidObjectException(E key,
Object... args)
- Creates a new exception with the given localized message key and optional
arguments for the message.
- Type Parameters:
E
- The enumeration type for the message keys- Parameters:
key
- The localized message to useargs
- Optional arguments to insert into the message
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class Throwable
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2013 Seam Framework. All Rights Reserved.