+++ /dev/null
-/*--------------------------------------------------------------------------\r
- * Copyright 2007 Taro L. Saito\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *--------------------------------------------------------------------------*/\r
-//--------------------------------------\r
-// XerialJ\r
-//\r
-// ErrorCode.java\r
-// Since: Dec 18, 2007 3:23:09 PM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/main/java/org/xerial/core/ErrorCode.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.core;\r
-\r
-/**\r
- * A common interface for error codes\r
- * \r
- * @author leo\r
- * \r
- */\r
-public interface ErrorCode {\r
-\r
- static final String EMPTY_DESCRIPTION = "";\r
-\r
- /**\r
- * Get the code name of the error\r
- * \r
- * @return\r
- */\r
- public String getCodeName();\r
-\r
- /**\r
- * Get the description of the error code\r
- * \r
- * @return\r
- */\r
- public String getDescription();\r
-\r
-}\r