Back to index

python-biopython  1.60
PDBExceptions.py
Go to the documentation of this file.
00001 # Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk)
00002 # This code is part of the Biopython distribution and governed by its
00003 # license.  Please see the LICENSE file that should have been included
00004 # as part of this package.  
00005 
00006 """Some Bio.PDB-specific exceptions."""
00007 
00008 from Bio import BiopythonWarning
00009 
00010 # General error
00011 class PDBException(Exception):
00012     pass
00013 
00014 # The PDB file cannot be unambiguously represented in the SMCRA 
00015 # data structure
00016 class PDBConstructionException(Exception):
00017     pass
00018 
00019 class PDBConstructionWarning(BiopythonWarning):
00020     pass