MissingFieldException
com.phasmidsoftware.xmldoc.core.MissingFieldException
case class MissingFieldException(message: String, reason: String, cause: Throwable) extends XmlBaseException
Represents an exception thrown when a required field is missing during an XML-related operation.
This exception indicates that an expected field was absent, typically during parsing or validation of XML content. It provides additional context regarding the missing field and the reason for its absence through custom error messages.
Value parameters
- cause
-
The underlying throwable that caused this exception, if available.
- message
-
A detailed error message describing the missing field.
- reason
-
A string explaining the reason for the field's absence.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass XmlBaseExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article