Similar to the isValid method, but this method throws
Exception (with possibly diagnostic information), instead of
returning false.
Similar to the isValid method, but this method throws
Exception (with possibly diagnostic information), instead of
returning false.
Throws:
-
DatatypeException - If the callee supports the diagnosis and the accumulated
literal is invalid, then this exception that possibly
contains diagnosis information is thrown.