public final class MalformedByteSequenceException
extends java.io.CharConversionException
Signals that a malformed byte sequence was detected
 by a java.io.Reader that decodes bytes 
 of a given encoding into characters.
| Constructor and Description | 
|---|
| MalformedByteSequenceException(MessageFormatter formatter,
                              java.util.Locale locale,
                              java.lang.String domain,
                              java.lang.String key,
                              java.lang.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. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object[] | getArguments()Returns the replacement arguments for the error
 message or  nullif none exist. | 
| java.lang.String | getDomain()Returns the error domain of the error message. | 
| java.lang.String | getKey()Returns the key of the error message. | 
| java.lang.String | getMessage()Returns the localized message for this exception. | 
public MalformedByteSequenceException(MessageFormatter formatter, java.util.Locale locale, java.lang.String domain, java.lang.String key, java.lang.Object[] arguments)
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.public java.lang.String getDomain()
Returns the error domain of the error message.
public java.lang.String getKey()
Returns the key of the error message.
public java.lang.Object[] getArguments()
Returns the replacement arguments for the error
 message or null if none exist.
null if none existpublic java.lang.String getMessage()
Returns the localized message for this exception.
getMessage in class java.lang.ThrowableCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.