~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to src/core/Simias.log4net/src/Core/.svn/text-base/ErrorCode.cs.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#region Copyright & License
2
 
//
3
 
// Copyright 2001-2005 The Apache Software Foundation
4
 
//
5
 
// Licensed under the Apache License, Version 2.0 (the "License");
6
 
// you may not use this file except in compliance with the License.
7
 
// You may obtain a copy of the License at
8
 
//
9
 
// http://www.apache.org/licenses/LICENSE-2.0
10
 
//
11
 
// Unless required by applicable law or agreed to in writing, software
12
 
// distributed under the License is distributed on an "AS IS" BASIS,
13
 
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 
// See the License for the specific language governing permissions and
15
 
// limitations under the License.
16
 
//
17
 
#endregion
18
 
 
19
 
using System;
20
 
 
21
 
namespace log4net.Core
22
 
{
23
 
        /// <summary>
24
 
        /// Defined error codes that can be passed to the <see cref="IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
25
 
        /// </summary>
26
 
        /// <remarks>
27
 
        /// <para>
28
 
        /// Values passed to the <see cref="IErrorHandler.Error(string, Exception, ErrorCode)"/> method.
29
 
        /// </para>
30
 
        /// </remarks>
31
 
        /// <author>Nicko Cadell</author>
32
 
        public enum ErrorCode : int
33
 
        {
34
 
                /// <summary>
35
 
                /// A general error
36
 
                /// </summary>
37
 
                GenericFailure = 0,
38
 
 
39
 
                /// <summary>
40
 
                /// Error while writing output
41
 
                /// </summary>
42
 
                WriteFailure,
43
 
 
44
 
                /// <summary>
45
 
                /// Failed to flush file
46
 
                /// </summary>
47
 
                FlushFailure,
48
 
 
49
 
                /// <summary>
50
 
                /// Failed to close file
51
 
                /// </summary>
52
 
                CloseFailure,
53
 
 
54
 
                /// <summary>
55
 
                /// Unable to open output file
56
 
                /// </summary>
57
 
                FileOpenFailure,
58
 
 
59
 
                /// <summary>
60
 
                /// No layout specified
61
 
                /// </summary>
62
 
                MissingLayout,
63
 
 
64
 
                /// <summary>
65
 
                /// Failed to parse address
66
 
                /// </summary>
67
 
                AddressParseFailure
68
 
        }
69
 
}