Catch only exception that is needed