public class XmlBeansException extends CodedException
Modifier and Type | Field and Description |
---|---|
static Error |
ARTIFACT_FILE_PATH |
static Error |
CLASSPATH_DEPENDENCY
Something went wrong while looking up the classpath.
|
static Error |
COMPILE_ERRORS
Errors occurred during the compile phase of the plugins process.
|
static Error |
COPY_CLASSES |
static Error |
INVALID_ARTIFACT_REFERENCE |
static Error |
INVALID_CONFIG_FILE |
static Error |
MISSING_FILE |
static Error |
MISSING_SCHEMA_DIRECTORY
We need the schema directory to continue.
|
static Error |
MISSING_SCHEMA_FILE |
static Error |
REQ_FILE_MISSING
The publisher specified in the configuration isn't valid.
|
static Error |
STALE_FILE_TOUCH |
static Error |
UNSET_PROPERTIES
setProject was never called on XmlBeansPlugin so the PluginProperties was never set.
|
static Error |
XSD_ARTIFACT_JAR |
error, errorFields, errors, MISSING_ERROR_KEY
Constructor and Description |
---|
XmlBeansException(Error code)
A part specific exception with a specific error code.
|
XmlBeansException(Error code,
String field)
A part specific exception with an error code and fields in the
message.
|
XmlBeansException(Error code,
String[] fields)
A part specific exception with an error code and fields in the
message.
|
XmlBeansException(Error code,
String[] fields,
Throwable exception)
Creates a coded exception with fields and a root cause.
|
XmlBeansException(Error code,
String field,
Throwable exception)
Creates a coded exception with fields and a root cause.
|
XmlBeansException(Error code,
Throwable exception)
Creates a new Coded CAM Exception, given an error code and root cause.
|
getMessage, init
getLongMessage, getSource
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final Error REQ_FILE_MISSING
public static final Error UNSET_PROPERTIES
public static final Error MISSING_SCHEMA_DIRECTORY
public static final Error COMPILE_ERRORS
public static final Error CLASSPATH_DEPENDENCY
public static final Error MISSING_FILE
public static final Error INVALID_CONFIG_FILE
public static final Error XSD_ARTIFACT_JAR
public static final Error ARTIFACT_FILE_PATH
public static final Error INVALID_ARTIFACT_REFERENCE
public static final Error STALE_FILE_TOUCH
public static final Error MISSING_SCHEMA_FILE
public static final Error COPY_CLASSES
public XmlBeansException(Error code)
code
- public XmlBeansException(Error code, String[] fields)
code
- fields
- public XmlBeansException(Error code, String field)
code
- field
- public XmlBeansException(Error code, Throwable exception)
code
- The Error of this particular exception.exception
- The root cause of the problem.public XmlBeansException(Error code, String field, Throwable exception)
code
- The code key used to look up the error text.field
- A single value with which to replace the error message field.exception
- The source of the error.public XmlBeansException(Error code, String[] fields, Throwable exception)
code
- The code key used to look up the error text.fields
- An array of field values to replace fields in the error message.exception
- The source of the error.Copyright © 2005–2020 MojoHaus. All rights reserved.