Class XmlValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ikasan.component.converter.xml.XmlValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlValidationException extends java.lang.RuntimeExceptionUse custom XML validation exception to allow specific handling of a failed XML validation verses another type of XML failure.- Author:
- Ikasan Development Team
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlValidationException(javax.xml.bind.ValidationEvent validationEvent)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFailedEvent()Get the String representation of the event XML failing validationjavax.xml.bind.ValidationEventgetValidationEvent()Get the event encompassing the validation error and original object which failed.voidsetFailedEvent(java.lang.String failedEvent)Set the String representation of the event XML failing validation
-
-
-
Method Detail
-
getValidationEvent
public javax.xml.bind.ValidationEvent getValidationEvent()
Get the event encompassing the validation error and original object which failed.
-
setFailedEvent
public void setFailedEvent(java.lang.String failedEvent)
Set the String representation of the event XML failing validation- Parameters:
failedEvent-
-
getFailedEvent
public java.lang.String getFailedEvent()
Get the String representation of the event XML failing validation- Returns:
- failedEvent
-
-