SAXParseExceptionSAXParseException
An XML document has a parsing error.
UnsupportedOperationExceptionAn operation is not supported by the implementation.
The method is declared in an interface or abstract class but the concrete implementation does not support it. This commonly occurs with unmodifiable collections (Collections.unmodifiableList) or Arrays.asList() which does not support add/remove.
Use a mutable collection: new ArrayList<>(Arrays.asList(...)). Check the documentation for which operations are supported. Use a different implementation that supports the needed operations.
List<String> list = List.of("a");
list.add("b"); // UOESAXParseExceptionAn XML document has a parsing error.
ObjectStreamExceptionAn exception occurred during Java object serialization or deserialization.
ClassNotFoundExceptionA class cannot be found on the classpath at runtime.
ReadOnlyBufferExceptionA write operation is attempted on a read-only buffer.
AbstractMethodErrorAn abstract method is called that has no implementation.
NoSuchMethodErrorA method is called at runtime but does not exist in the class.