<s> from st2common . policies import base <EOL> class RaiseExceptionApplicator ( base . ResourcePolicyApplicator ) : <EOL> def apply_before ( self , target ) : <EOL> raise Exception ( '<STR_LIT>' ) <EOL> def apply_after ( self , target ) : <EOL> return target </s>
