11.07.2015 Views

Manejo de Excepciones

Manejo de Excepciones

Manejo de Excepciones

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Re-envío <strong>de</strong> excepcionesEn este ejemplo la función llamadora <strong>de</strong>be tener unasentencia catch para atrapar la excepción enviada porTestVector.void Example2(){vector scores(VECSIZE);int value = 99;}try {TestVector( scores, value );}catch( RangeException & R ) {cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!