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
- Author:
- David M. Lloyd
- See Also:
-
Field Summary
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConfigXMLParseExceptioninstance.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.Constructs a newConfigXMLParseExceptioninstance. -
Method Summary
Modifier and TypeMethodDescriptionGet the location of this exception.protected voidsetLocation(XMLLocation location) Set the location of this exception.Methods inherited from class javax.xml.stream.XMLStreamException
getNestedExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigXMLParseException
public ConfigXMLParseException()Constructs a newConfigXMLParseExceptioninstance. The message is left blank (null), and no cause is specified. -
ConfigXMLParseException
Constructs a newConfigXMLParseExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ConfigXMLParseException
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
Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
ConfigXMLParseException
Constructs a newConfigXMLParseExceptioninstance. The message is left blank (null), and no cause is specified.- Parameters:
location- the location of the exception
-
ConfigXMLParseException
Constructs a newConfigXMLParseExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the messagelocation- the location of the exception
-
ConfigXMLParseException
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
Constructs a newConfigXMLParseExceptioninstance with an initial message and cause.- Parameters:
msg- the messagelocation- the location of the exceptioncause- the cause
-
ConfigXMLParseException
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
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
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
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 Details
-
getLocation
Get the location of this exception.- Overrides:
getLocationin classXMLStreamException- Returns:
- the location of this exception
-
setLocation
Set the location of this exception.- Parameters:
location- the location of this exception
-