KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sync4j > framework > protocol > v11 > Errors


1 /**
2  * Copyright (C) 2003-2005 Funambol
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  */

18
19 package sync4j.framework.protocol.v11;
20
21 /**
22  *
23  * @author Stefano Fornari @ Funambol
24  * @version $Id: Errors.java,v 1.5 2005/03/02 20:57:38 harrie Exp $
25  */

26 public interface Errors {
27     public static final String JavaDoc ERRMSG_DTD_VER_NOT_SUPPORTED =
28        "DTD ver {0} not supported"
29     ;
30     public static final String JavaDoc ERRMSG_PROTOCOL_VER_NOT_SUPPORTED =
31        "Protocol ver {0} not supported"
32     ;
33     public static final String JavaDoc ERRMSG_NO_SESSION_ID =
34        "Missing session ID"
35     ;
36     public static final String JavaDoc ERRMSG_NO_MESSAGE_ID =
37        "Missing message ID"
38     ;
39     public static final String JavaDoc ERRMSG_INVALID_TARGET =
40        "Invalid target ({0})"
41     ;
42     public static final String JavaDoc ERRMSG_INVALID_SOURCE =
43        "Invalid source({0})"
44     ;
45     public static final String JavaDoc ERRMSG_INVALID_ALERT =
46        "Invalid alert command ({0})"
47     ;
48     public static final String JavaDoc ERRMSG_INVALID_ALERT_CODE =
49        "The alert code {0} is not an initialization code"
50     ;
51     public static final String JavaDoc ERRMSG_MISSING_ITEM =
52        "The item element is missing"
53     ;
54     public static final String JavaDoc ERRMSG_MISSING_SYNC_ANCHOR =
55        "The sync anchor element is missing"
56     ;
57     public static final String JavaDoc ERRMSG_INVALID_CAPABILITIES =
58        "Invalid {0} capabilities ({1})"
59     ;
60     public static final String JavaDoc ERRMSG_INVALID_CAPABILITIES_REQUEST =
61        "Invalid capabilities request ({1})"
62     ;
63     public static final String JavaDoc ERRMSG_BODY_NOT_FINAL =
64        "The body packet is not marked 'final'"
65     ;
66     public static final String JavaDoc ERRMSG_MISSING_STATUS_COMMAND =
67        "Missing status command for command {1}"
68     ;
69     public static final String JavaDoc ERRMSG_MISSING_RESULTS_COMMAND =
70        "Missing results command for command {1}"
71     ;
72     public static final String JavaDoc ERRMSG_MISSING_SYNC_COMMAND =
73        "Missing sync command for command"
74     ;
75     public static final String JavaDoc ERRMSG_INVALID_SYNC_COMMAND =
76        "Invalid sync command ({1})"
77     ;
78     public static final String JavaDoc ERRMSG_INVALID_MODIFICATION_COMMAND =
79        "Invalid modification command ({1})"
80     ;
81     public static final String JavaDoc ERRMSG_MISSING_TYPE =
82        "Missing metadata type in {1}"
83     ;
84     public static final String JavaDoc ERRMSG_MISSING_DATA =
85        "Missing data in {1}"
86     ;
87 }
Popular Tags