The ValidationEventHandler can cause this exception to be thrown
during the marshal operations. See
ValidationEventHandler.handleEvent(ValidationEvent).
JAXBException, Marshaller
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MarshalException(String
a description of the exception message)Construct a MarshalException with the specified detail message. |
| public | MarshalException(String
a description of the exception message, String a string specifying the vendor specific error code errorCode)Construct a MarshalException with the specified detail message and vendor specific errorCode. |
| public | MarshalException(Throwable
the linked exception exception)Construct a MarshalException with a linkedException. |
| public | MarshalException(String
a description of the exception message, Throwable the linked exception exception)Construct a MarshalException with the specified detail message and linkedException. |
| public | MarshalException(String
a description of the exception message, String a string specifying the vendor specific error code errorCode, Throwable the linked exception exception)Construct a MarshalException with the specified detail message, vendor specific errorCode, and linkedException. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MarshalException | back to summary |
|---|---|
| public MarshalException(String message) Construct a MarshalException with the specified detail message. The errorCode and linkedException will default to null.
| |
| MarshalException | back to summary |
|---|---|
| public MarshalException(String message, String errorCode) Construct a MarshalException with the specified detail message and vendor specific errorCode. The linkedException will default to null. | |
| MarshalException | back to summary |
|---|---|
| public MarshalException(Throwable exception) Construct a MarshalException with a linkedException. The detail message and vendor specific errorCode will default to null.
| |
| MarshalException | back to summary |
|---|---|
| public MarshalException(String message, Throwable exception) Construct a MarshalException with the specified detail message and linkedException. The errorCode will default to null. | |
| MarshalException | back to summary |
|---|---|
| public MarshalException(String message, String errorCode, Throwable exception) Construct a MarshalException with the specified detail message, vendor specific errorCode, and linkedException. | |