01: /*
02: * $Id:$
03: * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
04: *
05: * http://www.izforge.com/izpack/
06: * http://izpack.codehaus.org/
07: *
08: * Copyright 2006 Elmar Grom
09: *
10: * Licensed under the Apache License, Version 2.0 (the "License");
11: * you may not use this file except in compliance with the License.
12: * You may obtain a copy of the License at
13: *
14: * http://www.apache.org/licenses/LICENSE-2.0
15: *
16: * Unless required by applicable law or agreed to in writing, software
17: * distributed under the License is distributed on an "AS IS" BASIS,
18: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19: * See the License for the specific language governing permissions and
20: * limitations under the License.
21: */
22:
23: package com.izforge.izpack.util;
24:
25: /**
26: * Interface for handle error logging with IzPack Log class.
27: * @author Elmar Grom
28: */
29: public interface LogError {
30: /** First index for error messages */
31: static final int ERROR_BASE = 2000;
32:
33: /** Informs the user that a specific file could not be written<br>
34: * Detail Paramters
35: * <ol>
36: * <li>name of the file that could not be written
37: * </ol>
38: * */
39: public static final int COULD_NOT_WRITE_FILE = ERROR_BASE;
40:
41: /** The highest legal error message number is less than this value. */
42: static final int MAX_ERROR = ERROR_BASE + 1;
43: }
|