Change Exceptions to GradleExceptions in PegasusPlugin

RB=206280
R=jbetz,si-dev,kjin
A=kjin