/* * Copyright (c) 2012, the Dart project authors. * * Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html * * 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 com.google.dart.tools.core.model; /** * The interface <code>DartModelStatusConstants</code> defines status codes used with Dart model * status objects. * <p> * This interface declares constants only; it is not intended to be implemented or extended. * * @coverage dart.tools.core.model */ public interface DartModelStatusConstants { public static final int BAD_TEXT_EDIT_LOCATION = 1; public static final int CORE_EXCEPTION = 2; public static final int ELEMENT_DOES_NOT_EXIST = 3; public static final int INDEX_OUT_OF_BOUNDS = 4; public static final int INVALID_CONTENTS = 5; public static final int INVALID_DESTINATION = 6; public static final int INVALID_ELEMENT_TYPES = 7; public static final int INVALID_NAME = 8; public static final int INVALID_RESOURCE = 9; public static final int INVALID_SIBLING = 10; public static final int IO_EXCEPTION = 11; public static final int NAME_COLLISION = 12; public static final int NO_ELEMENTS_TO_PROCESS = 13; public static final int NULL_NAME = 14; public static final int READ_ONLY = 15; public static final int UPDATE_CONFLICT = 16; }