Top Fields Constructors Methods
org.wildfly.client.config

public Class ConfigXMLParseException

extends XMLStreamException
Class Inheritance
Static Imports
org.wildfly.client.config._private.ConfigMessages.msg

Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from javax.xml.stream.XMLStreamException:
locationnested

Constructor Summary

AccessConstructor and Description
public
ConfigXMLParseException()

Constructs a new ConfigXMLParseException instance.

public
ConfigXMLParseException(final String
the message
msg
)

Constructs a new ConfigXMLParseException instance with an initial message.

public
ConfigXMLParseException(final Throwable
the cause
cause
)

Constructs a new ConfigXMLParseException instance with an initial cause.

public
ConfigXMLParseException(final String
the message
msg
,
final Throwable
the cause
cause
)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

public
ConfigXMLParseException(final Location
the location of the exception
location
)

Constructs a new ConfigXMLParseException instance.

public
ConfigXMLParseException(final String
the message
msg
,
final Location
the location of the exception
location
)

Constructs a new ConfigXMLParseException instance with an initial message.

public
ConfigXMLParseException(final Throwable
the cause
cause
,
final Location
the location of the exception
location
)

Constructs a new ConfigXMLParseException instance with an initial cause.

public
ConfigXMLParseException(final String
the message
msg
,
final Location
the location of the exception
location
,
final Throwable
the cause
cause
)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

public
ConfigXMLParseException(final XMLStreamReader
an XML reader at the position of the problem
reader
)

Constructs a new ConfigXMLParseException instance.

public
ConfigXMLParseException(final String
the message
msg
,
final XMLStreamReader
an XML reader at the position of the problem
reader
)

Constructs a new ConfigXMLParseException instance with an initial message.

public
ConfigXMLParseException(final Throwable
the cause
cause
,
final XMLStreamReader
an XML reader at the position of the problem
reader
)

Constructs a new ConfigXMLParseException instance with an initial cause.

public
ConfigXMLParseException(final String
the message
msg
,
final XMLStreamReader
an XML reader at the position of the problem
reader
,
final Throwable
the cause
cause
)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

private
ConfigXMLParseException(final String msg, final XMLLocation location, int ignored)

private
ConfigXMLParseException(final String msg, final XMLLocation location, final Throwable cause, int ignored)

Method Summary

Modifier and TypeMethod and Description
private static String
clean(String original)

pack-priv static ConfigXMLParseException
from(final XMLStreamException exception)

pack-priv static ConfigXMLParseException
from(final XMLStreamException exception, final URI uri)

pack-priv static ConfigXMLParseException
from(final XMLStreamException exception, final URI uri, final XMLLocation includedFrom)

pack-priv static ConfigXMLParseException
from(final Exception exception)

pack-priv static ConfigXMLParseException
from(final Exception exception, final URI uri)

pack-priv static ConfigXMLParseException
from(final Exception exception, final URI uri, final XMLLocation includedFrom)

public XMLLocation

Returns:

the location of this exception
getLocation
()

Overrides javax.xml.stream.XMLStreamException.getLocation.

Get the location of this exception.
protected void
setLocation(XMLLocation
the location of this exception
location
)

Set the location of this exception.

Inherited from javax.xml.stream.XMLStreamException:
getNestedException

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.xml.stream.XMLStreamException.serialVersionUID.

Constructor Detail

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException()

Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg)

Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final Throwable cause)

Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg, final Throwable cause)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

Parameters
msg:String

the message

cause:Throwable

the cause

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final Location location)

Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.

Parameters
location:Location

the location of the exception

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg, final Location location)

Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

location:Location

the location of the exception

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final Throwable cause, final Location location)

Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

location:Location

the location of the exception

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg, final Location location, final Throwable cause)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

Parameters
msg:String

the message

location:Location

the location of the exception

cause:Throwable

the cause

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final XMLStreamReader reader)

Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.

Parameters
reader:XMLStreamReader

an XML reader at the position of the problem

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg, final XMLStreamReader reader)

Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

reader:XMLStreamReader

an XML reader at the position of the problem

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final Throwable cause, final XMLStreamReader reader)

Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

reader:XMLStreamReader

an XML reader at the position of the problem

ConfigXMLParseExceptionback to summary
public ConfigXMLParseException(final String msg, final XMLStreamReader reader, final Throwable cause)

Constructs a new ConfigXMLParseException instance with an initial message and cause.

Parameters
msg:String

the message

reader:XMLStreamReader

an XML reader at the position of the problem

cause:Throwable

the cause

ConfigXMLParseExceptionback to summary
private ConfigXMLParseException(final String msg, final XMLLocation location, int ignored)
ConfigXMLParseExceptionback to summary
private ConfigXMLParseException(final String msg, final XMLLocation location, final Throwable cause, int ignored)

Method Detail

cleanback to summary
private static String clean(String original)
fromback to summary
pack-priv static ConfigXMLParseException from(final XMLStreamException exception)
fromback to summary
pack-priv static ConfigXMLParseException from(final XMLStreamException exception, final URI uri)
fromback to summary
pack-priv static ConfigXMLParseException from(final XMLStreamException exception, final URI uri, final XMLLocation includedFrom)
fromback to summary
pack-priv static ConfigXMLParseException from(final Exception exception)
fromback to summary
pack-priv static ConfigXMLParseException from(final Exception exception, final URI uri)
fromback to summary
pack-priv static ConfigXMLParseException from(final Exception exception, final URI uri, final XMLLocation includedFrom)
getLocationback to summary
public XMLLocation getLocation()

Overrides javax.xml.stream.XMLStreamException.getLocation.

Get the location of this exception.

Returns:XMLLocation

the location of this exception

setLocationback to summary
protected void setLocation(XMLLocation location)

Set the location of this exception.

Parameters
location:XMLLocation

the location of this exception