Package Bio :: Package PDB :: Module PDBExceptions
[hide private]
[frames] | no frames]

Source Code for Module Bio.PDB.PDBExceptions

 1  # Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk) 
 2  # This code is part of the Biopython distribution and governed by its 
 3  # license.  Please see the LICENSE file that should have been included 
 4  # as part of this package. 
 5   
 6  """Some Bio.PDB-specific exceptions.""" 
 7   
 8  from Bio import BiopythonWarning 
 9   
10   
11  # General error 
12 -class PDBException(Exception):
13 pass
14 15 16 # The PDB file cannot be unambiguously represented in the SMCRA 17 # data structure
18 -class PDBConstructionException(Exception):
19 pass
20 21
22 -class PDBConstructionWarning(BiopythonWarning):
23 pass
24