com.itextpdf.styledxmlparser.jsoup.SerializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of styled-xml-parser Show documentation
Show all versions of styled-xml-parser Show documentation
Styled XML parser is used by iText7 modules to parse HTML and XML
The newest version!
/*
This file is part of jsoup, see NOTICE.txt in the root of the repository.
It may contain modifications beyond the original version.
*/
package com.itextpdf.styledxmlparser.jsoup;
/**
* A SerializationException is raised whenever serialization of a DOM element fails. This exception usually wraps an
* {@link java.io.IOException} that may be thrown due to an inaccessible output stream.
*/
public final class SerializationException extends RuntimeException {
/**
* Creates and initializes a new serialization exception with no error message and cause.
*/
public SerializationException() {
super();
}
/**
* Creates and initializes a new serialization exception with the given error message and no cause.
*
* @param message
* the error message of the new serialization exception (may be null).
*/
public SerializationException(String message) {
super(message);
}
/**
* Creates and initializes a new serialization exception with the specified cause and an error message of
* (cause==null ? null : cause.toString()) (which typically contains the class and error message of
* cause).
*
* @param cause
* the cause of the new serialization exception (may be null).
*/
public SerializationException(Throwable cause) {
super(cause == null ? "Exception with null cause" : cause.getMessage(), cause);
}
/**
* Creates and initializes a new serialization exception with the given error message and cause.
*
* @param message
* the error message of the new serialization exception.
* @param cause
* the cause of the new serialization exception.
*/
public SerializationException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy