change message for exception
define methods in anonymouse module