Lines Matching refs:LSException

52 import org.w3c.dom.ls.LSException;

883 * @throws org.w3c.dom.ls.LSException SERIALIZE_ERR: Raised if the
887 public boolean write(Node nodeArg, LSOutput destination) throws LSException {
899 throw new LSException(LSException.SERIALIZE_ERR, msg);
902 // If nodeArg is null, return false. Should we throw and LSException instead?
936 throw new LSException(LSException.SERIALIZE_ERR, msg);
992 throw new LSException(LSException.SERIALIZE_ERR, msg);
1082 throw (LSException) createLSException(LSException.SERIALIZE_ERR, ue).fillInStackTrace();
1083 } catch (LSException lse) {
1084 // Rethrow LSException.
1087 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1094 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1106 * @throws org.w3c.dom.ls.LSException SERIALIZE_ERR: Raised if the
1110 public String writeToString(Node nodeArg) throws DOMException, LSException {
1179 } catch (LSException lse) {
1180 // Rethrow LSException.
1183 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1190 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1204 * @throws org.w3c.dom.ls.LSException SERIALIZE_ERR: Raised if the
1208 public boolean writeToURI(Node nodeArg, String uri) throws LSException {
1209 // If nodeArg is null, return false. Should we throw and LSException instead?
1266 throw new LSException(LSException.SERIALIZE_ERR, msg);
1337 } catch (LSException lse) {
1338 // Rethrow LSException.
1341 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1348 throw (LSException) createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace();
1496 * Creates an LSException. On J2SE 1.4 and above the cause for the exception will be set.
1498 private static LSException createLSException(short code, Throwable cause) {
1499 LSException lse = new LSException(code, cause != null ? cause.getMessage() : null);