Use bracketP for exception handling.