Package org.wildfly.client.config
Class ConfigXMLParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.stream.XMLStreamException
-
- org.wildfly.client.config.ConfigXMLParseException
-
- All Implemented Interfaces:
Serializable
public class ConfigXMLParseException extends XMLStreamException
- Author:
- David M. Lloyd
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested
-
-
Constructor Summary
Constructors Constructor Description ConfigXMLParseException()Constructs a newConfigXMLParseExceptioninstance.ConfigXMLParseException(String msg)Constructs a newConfigXMLParseExceptioninstance with an initial message.ConfigXMLParseException(String msg, Throwable cause)Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.ConfigXMLParseException(String msg, Location location)Constructs a newConfigXMLParseExceptioninstance with an initial message.ConfigXMLParseException(String msg, Location location, Throwable cause)Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.ConfigXMLParseException(String msg, XMLStreamReader reader)Constructs a newConfigXMLParseExceptioninstance with an initial message.ConfigXMLParseException(String msg, XMLStreamReader reader, Throwable cause)Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.ConfigXMLParseException(Throwable cause)Constructs a newConfigXMLParseExceptioninstance with an initial cause.ConfigXMLParseException(Throwable cause, Location location)Constructs a newConfigXMLParseExceptioninstance with an initial cause.ConfigXMLParseException(Throwable cause, XMLStreamReader reader)Constructs a newConfigXMLParseExceptioninstance with an initial cause.ConfigXMLParseException(Location location)Constructs a newConfigXMLParseExceptioninstance.ConfigXMLParseException(XMLStreamReader reader)Constructs a newConfigXMLParseExceptioninstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLLocationgetLocation()Get the location of this exception.protected voidsetLocation(XMLLocation location)Set the location of this exception.-
Methods inherited from class javax.xml.stream.XMLStreamException
getNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigXMLParseException
public ConfigXMLParseException()
Constructs a newConfigXMLParseExceptioninstance. The message is left blank (null), and no cause is specified.
-
ConfigXMLParseException
public ConfigXMLParseException(String msg)
Constructs a newConfigXMLParseExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ConfigXMLParseException
public ConfigXMLParseException(Throwable cause)
Constructs a newConfigXMLParseExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisConfigXMLParseException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
ConfigXMLParseException
public ConfigXMLParseException(String msg, Throwable cause)
Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
ConfigXMLParseException
public ConfigXMLParseException(Location location)
Constructs a newConfigXMLParseExceptioninstance. The message is left blank (null), and no cause is specified.- Parameters:
location- the location of the exception
-
ConfigXMLParseException
public ConfigXMLParseException(String msg, Location location)
Constructs a newConfigXMLParseExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the messagelocation- the location of the exception
-
ConfigXMLParseException
public ConfigXMLParseException(Throwable cause, Location location)
Constructs a newConfigXMLParseExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisConfigXMLParseException; otherwise the message is left blank (null).- Parameters:
cause- the causelocation- the location of the exception
-
ConfigXMLParseException
public ConfigXMLParseException(String msg, Location location, Throwable cause)
Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.- Parameters:
msg- the messagelocation- the location of the exceptioncause- the cause
-
ConfigXMLParseException
public ConfigXMLParseException(XMLStreamReader reader)
Constructs a newConfigXMLParseExceptioninstance. The message is left blank (null), and no cause is specified.- Parameters:
reader- an XML reader at the position of the problem
-
ConfigXMLParseException
public ConfigXMLParseException(String msg, XMLStreamReader reader)
Constructs a newConfigXMLParseExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the messagereader- an XML reader at the position of the problem
-
ConfigXMLParseException
public ConfigXMLParseException(Throwable cause, XMLStreamReader reader)
Constructs a newConfigXMLParseExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisConfigXMLParseException; otherwise the message is left blank (null).- Parameters:
cause- the causereader- an XML reader at the position of the problem
-
ConfigXMLParseException
public ConfigXMLParseException(String msg, XMLStreamReader reader, Throwable cause)
Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.- Parameters:
msg- the messagereader- an XML reader at the position of the problemcause- the cause
-
-
Method Detail
-
getLocation
public XMLLocation getLocation()
Get the location of this exception.- Overrides:
getLocationin classXMLStreamException- Returns:
- the location of this exception
-
setLocation
protected void setLocation(XMLLocation location)
Set the location of this exception.- Parameters:
location- the location of this exception
-
-