elemental.dom.DOMException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-client Show documentation
Show all versions of vaadin-client Show documentation
Vaadin is a web application framework for Rich Internet Applications (RIA).
Vaadin enables easy development and maintenance of fast and
secure rich web
applications with a stunning look and feel and a wide browser support.
It features a server-side architecture with the majority of the logic
running
on the server. Ajax technology is used at the browser-side to ensure a
rich
and interactive user experience.
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package elemental.dom;
import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;
import java.util.Date;
/**
* The following are the DOMException codes:
Code 'Abstract' Constant name Level 1 1
INDEX_SIZE_ERR
2
DOMSTRING_SIZE_ERR
3
HIERARCHY_REQUEST_ERR
4
WRONG_DOCUMENT_ERR
5
INVALID_CHARACTER_ERR
6
NO_DATA_ALLOWED_ERR
7
NO_MODIFICATION_ALLOWED_ERR
8
NOT_FOUND_ERR
9
NOT_SUPPORTED_ERR
10
INUSE_ATTRIBUTE_ERR
Level 2 11
INVALID_STATE_ERR
12
SYNTAX_ERR
13
INVALID_MODIFICATION_ERR
14
NAMESPACE_ERR
15
INVALID_ACCESS_ERR
Level 3 16
VALIDATION_ERR
17
TYPE_MISMATCH_ERR
*/
public interface DOMException {
static final int ABORT_ERR = 20;
static final int DATA_CLONE_ERR = 25;
static final int DOMSTRING_SIZE_ERR = 2;
static final int HIERARCHY_REQUEST_ERR = 3;
static final int INDEX_SIZE_ERR = 1;
static final int INUSE_ATTRIBUTE_ERR = 10;
static final int INVALID_ACCESS_ERR = 15;
static final int INVALID_CHARACTER_ERR = 5;
static final int INVALID_MODIFICATION_ERR = 13;
static final int INVALID_NODE_TYPE_ERR = 24;
static final int INVALID_STATE_ERR = 11;
static final int NAMESPACE_ERR = 14;
static final int NETWORK_ERR = 19;
static final int NOT_FOUND_ERR = 8;
static final int NOT_SUPPORTED_ERR = 9;
static final int NO_DATA_ALLOWED_ERR = 6;
static final int NO_MODIFICATION_ALLOWED_ERR = 7;
static final int QUOTA_EXCEEDED_ERR = 22;
static final int SECURITY_ERR = 18;
static final int SYNTAX_ERR = 12;
static final int TIMEOUT_ERR = 23;
static final int TYPE_MISMATCH_ERR = 17;
static final int URL_MISMATCH_ERR = 21;
static final int VALIDATION_ERR = 16;
static final int WRONG_DOCUMENT_ERR = 4;
int getCode();
String getMessage();
String getName();
}