Throwing bad request
Verifying bad dates
Update trip
Added some javadoc