public class

MalformedByteSequenceException

extends CharConversionException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.io.CharConversionException
           ↳ org.apache.xerces.impl.io.MalformedByteSequenceException

Class Overview

Signals that a malformed byte sequence was detected by a java.io.Reader that decodes bytes of a given encoding into characters.

@xerces.internal

Summary

Public Constructors
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.
Public Methods
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.

[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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.

Parameters
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 Methods

public Object[] getArguments ()

Returns the replacement arguments for the error message or null if none exist.

Returns
  • the replacement arguments for the error message or null if none exist

public String getDomain ()

Returns the error domain of the error message.

Returns
  • the error domain

public String getKey ()

Returns the key of the error message.

Returns
  • the error key of the error message

public String getMessage ()

Returns the localized message for this exception.

Returns
  • the localized message for this exception.