Class VastParseException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class VastParseException extends Exception
Exception thrown during VAST XML parsing and validation failures.
This exception encapsulates specific error conditions that occur during the processing of VAST (Video Ad Serving Template) XML content. It carries a standardized error code from VastParseErrorCode that provides detailed information about the specific parsing failure that occurred.
The exception enables precise error handling and debugging of VAST processing issues, allowing callers to differentiate between different types of parsing failures and respond appropriately. The error code can be used for logging, telemetry, and error reporting purposes.
-
-
Constructor Summary
Constructors Constructor Description VastParseException(Short errorCode)
-
Method Summary
Modifier and Type Method Description final ShortgetErrorCode()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VastParseException
VastParseException(Short errorCode)
- Parameters:
errorCode- The specific VastParseErrorCode indicating the type of parsing failure
-
-
Method Detail
-
getErrorCode
final Short getErrorCode()
-
-
-
-