Package libxyz :: Module exceptions

[hide private]
[frames] | no frames]

# Source Code for Module libxyz.exceptions

     1  #
     2  # Max E. Kuznecov ~syhpoon <syhpoon@syhpoon.name> 2008
     3  #
     4  # This file is part of XYZCommander.
     5  # XYZCommander is free software: you can redistribute it and/or modify
     6  # it under the terms of the GNU Lesser Public License as published by
     7  # the Free Software Foundation, either version 3 of the License, or
     8  # (at your option) any later version.
     9  # XYZCommander 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 Lesser Public License for more details.
    13  # You should have received a copy of the GNU Lesser Public License
    14  # along with XYZCommander. If not, see <http://www.gnu.org/licenses/>.
    15
    16  """
    17  All exceptions
    18  """
    19
    20 -class XYZError(Exception):
    21      """
    22      Base exception
    23      """
    24
    25      pass
    26
    27  #++++++++++++++++++++++++++++++++++++++++++++++++
    28
    29 -class XYZRuntimeError(XYZError):
    30      pass
    31
    32  #++++++++++++++++++++++++++++++++++++++++++++++++
    33
    34 -class XYZValueError(XYZError):
    35      pass
    36
    37  #++++++++++++++++++++++++++++++++++++++++++++++++
    38
    39 -class ParseError(XYZError):
    40      pass
    41
    42  #++++++++++++++++++++++++++++++++++++++++++++++++
    43
    44 -class LexerError(XYZError):
    45      pass
    46
    47  #++++++++++++++++++++++++++++++++++++++++++++++++
    48
    49 -class PluginError(XYZError):
    50      pass
    51
    52  #++++++++++++++++++++++++++++++++++++++++++++++++
    53
    54 -class SkinError(XYZError):
    55      pass
    56
    57  #++++++++++++++++++++++++++++++++++++++++++++++++
    58
    59 -class VFSError(XYZError):
    60      pass
    61
    62  #++++++++++++++++++++++++++++++++++++++++++++++++
    63
    64 -class UIError(XYZError):
    65      pass
    66
    67  #++++++++++++++++++++++++++++++++++++++++++++++++
    68
    69 -class KeyManagerError(XYZError):
    70      pass
    71  #++++++++++++++++++++++++++++++++++++++++++++++++
    72
    73 -class FSRuleError(XYZError):
    74      pass
    75
    76  #++++++++++++++++++++++++++++++++++++++++++++++++
    77
    78 -class DSLError(XYZError):
    79      pass
    80