Refactoring and avoid boilerplate code

@viavansi/movilidad 
Exception hidden