Package gavo :: Package utils :: Module excs :: Class SkipThis
[frames] | no frames]

Class SkipThis

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                 ExecutiveAction --+
                                   |
                                  SkipThis

is caught in rsc.makeData. You can raise this at any place during source processing to skip the rest of this source but the go on.

You should pass something descriptive as message so upstream can potentially report something is skipped and why.

Note: in a rowmaker, you probably usually want to raise IgnoreThisRow instead; it's rare that you want to ignore the rest of a source just because you don't like a row.

Instance Methods

Inherited from exceptions.Exception: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__