public abstract class ValidationErrorHandler extends Object implements ErrorHandler
ErrorHandler
to receive errors encountered during the
Validator.validate(javax.xml.transform.Source)
method invocation. Specify
a custom handler in SchemaValidation
, SchemaValidationFeature
to customize the error handling process during validation.SchemaValidation
Modifier and Type | Field and Description |
---|---|
protected com.sun.xml.ws.api.message.Packet |
packet |
Constructor and Description |
---|
ValidationErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
setPacket(com.sun.xml.ws.api.message.Packet packet)
Use it to communicate validation errors with the application.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
error, fatalError, warning
public void setPacket(com.sun.xml.ws.api.message.Packet packet)
Packet.invocationProperties
during request processing and can be accessed in the endpoint
via MessageContext
packet
- for request or response messageCopyright © 2015 Oracle Corporation. All rights reserved.