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 warnings logging with IzPack Log class.
27: * @author Elmar Grom
28: */
29: public interface LogWarning {
30: /** First index for warning messages */
31: static final int WARNING_BASE = 1000;
32:
33: /** The highest legal error message number is less than this value. */
34: static final int MAX_WARNING = WARNING_BASE;
35: }
|