public class XTCEDatabaseException extends Exception
| Constructor and Description |
|---|
XTCEDatabaseException(Exception ex)
Constructor to initialize an XTCEDatabaseException from a generally
informative Java Exception.
|
XTCEDatabaseException(List<String> messages)
Constructor to initialize an XTCEDatabaseException from a list of
collected messages.
|
XTCEDatabaseException(MarshalException ex)
Constructor to initialize an XTCEDatabaseException from a JAXB
MarshalException, which needs to be handled via the getCause() instead
of the more common getLocalizedMessage(), so this converts the text from
the cause to the localized message accessor.
|
XTCEDatabaseException(String message)
Constructor for a String Message
|
XTCEDatabaseException(String message,
Throwable ex)
Constructor to initialize an XTCEDatabaseException from a generally
uninformative Java Throwable.
|
XTCEDatabaseException(XPathException ex)
Constructor to initialize an XTCEDatabaseException from an XPath
Exception, which needs to be handled via the getCause() instead
of the more common getLocalizedMessage(), so this converts the text from
the cause to the localized message accessor.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic XTCEDatabaseException(String message)
message - String containing the exception message.public XTCEDatabaseException(String message, Throwable ex)
message - String message to associate with the exception, where the
Throwable did not provide anything helpful, but the toolkit knows the
cause.ex - Throwable to copy from.public XTCEDatabaseException(Exception ex)
ex - Exception base class that was instantiated with a decent and
descriptive error message.public XTCEDatabaseException(MarshalException ex)
ex - MarshalException thrown by JAXB.public XTCEDatabaseException(XPathException ex)
ex - XPathException thrown by the XPath evaluate function.public XTCEDatabaseException(List<String> messages)
messages - List of Strings containing feedback during a long
operation that may collect many interesting errors, but can proceed
until completion.Copyright © 2015–2019. All rights reserved.