org.apache.xerces.impl.io
Class MalformedByteSequenceException
CharConversionException
org.apache.xerces.impl.io.MalformedByteSequenceException
public class MalformedByteSequenceException
extends CharConversionException
Signals that a malformed byte sequence was detected
by a java.io.Reader
that decodes bytes
of a given encoding into characters.
$Id: MalformedByteSequenceException.java,v 1.4 2004/10/04 22:07:41 mrglavas Exp $- Michael Glavassevich, IBM
MalformedByteSequenceException(MessageFormatter formatter, Locale locale, String domain, String key, Object[] arguments) - Constructs a MalformedByteSequenceException with the given
parameters which may be passed to an error reporter to
generate a localized string for this exception.
|
Object[] | getArguments() - Returns the replacement arguments for the error
message or
null if none exist.
|
String | getDomain() - Returns the error domain of the error message.
|
String | getKey() - Returns the key of the error message.
|
String | getMessage() - Returns the localized message for this exception.
|
MalformedByteSequenceException
public MalformedByteSequenceException(MessageFormatter formatter,
Locale locale,
String domain,
String key,
Object[] arguments)
Constructs a MalformedByteSequenceException with the given
parameters which may be passed to an error reporter to
generate a localized string for this exception.
formatter
- The MessageFormatter used for building the
message text for this exception.locale
- The Locale for which messages are to be reported.domain
- The error domain.key
- The key of the error message.arguments
- The replacement arguments for the error message,
if needed.
getArguments
public Object[] getArguments()
Returns the replacement arguments for the error
message or null
if none exist.
- the replacement arguments for the error message
or
null
if none exist
getDomain
public String getDomain()
Returns the error domain of the error message.
getKey
public String getKey()
Returns the key of the error message.
- the error key of the error message
getMessage
public String getMessage()
Returns the localized message for this exception.
- the localized message for this exception.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.