Signals that a malformed byte sequence was detected
by a java.io.Reader
that decodes bytes
of a given encoding into characters.
Modifier and Type | Field and Description |
---|---|
private Object[] | fArguments
replacement arguements for the error message |
private String | fDomain
error domain |
private MessageFormatter | fFormatter
message formatter |
private String | fKey
key for the error message |
private Locale | fLocale
locale for error message |
private String | fMessage
message text for this message, initially null |
pack-priv static final long | serialVersionUID
Serialization version.
|
Access | Constructor and Description |
---|---|
public | MalformedByteSequenceException(MessageFormatter
The MessageFormatter used for building the
message text for this exception. formatter, Locale The Locale for which messages are to be reported. locale, String The error domain. domain, String The key of the error message. key, Object[] The replacement arguments for the error message,
if needed. 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 |
---|---|
public Object[] | Returns: the replacement arguments for the error message ornull if none existReturns the replacement arguments for the error
message or |
public String | |
public String | |
public String | Returns: the localized message for this exception.Overrides java. Returns the localized message for this exception. |
fArguments | back to summary |
---|---|
private Object[] fArguments replacement arguements for the error message
|
fDomain | back to summary |
---|---|
private String fDomain error domain |
fFormatter | back to summary |
---|---|
private MessageFormatter fFormatter message formatter
|
fKey | back to summary |
---|---|
private String fKey key for the error message |
fLocale | back to summary |
---|---|
private Locale fLocale locale for error message |
fMessage | back to summary |
---|---|
private String fMessage message text for this message, initially null |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides java. Serialization version. |
MalformedByteSequenceException | back to summary |
---|---|
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.
|
getArguments | back to summary |
---|---|
public Object[] getArguments() Returns the replacement arguments for the error
message or
|
getDomain | back to summary |
---|---|
public String getDomain() Returns the error domain of the error message.
|
getKey | back to summary |
---|---|
public String getKey() Returns the key of the error message.
|
getMessage | back to summary |
---|---|
public String getMessage() Overrides java. Returns the localized message for this exception.
|