From 888f0949db209b55b652236611946d0dae224cae Mon Sep 17 00:00:00 2001 From: Tom Haber Date: Fri, 22 Jan 2010 13:11:48 +0100 Subject: [PATCH] avr: Memory had wrong documentation about exceptions thrown --- src/Memory.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Memory.h b/src/Memory.h index cb07248..86e103c 100644 --- a/src/Memory.h +++ b/src/Memory.h @@ -26,7 +26,7 @@ namespace avr { * Reads \e size bytes of raw data from memory starting at * offset \e offset. It returns a pointer to this data. * - * \exception RuntimeException { When the data requested is + * \exception AccessViolation { When the data requested is * not available, this exception is thrown } */ const unsigned char *read(unsigned int offset, unsigned int size = 1) const; @@ -35,7 +35,7 @@ namespace avr { * Reads a single bytes of raw data from memory at * offset \e offset. * - * \exception RuntimeException { When the data requested is + * \exception AccessViolation { When the data requested is * not available, this exception is thrown } */ byte readByte(unsigned int offset) const; @@ -44,7 +44,7 @@ namespace avr { * Reads a word of raw data from memory starting at * offset \e offset. * - * \exception RuntimeException { When the data requested is + * \exception AccessViolation { When the data requested is * not available, this exception is thrown } */ word readWord(unsigned int offset) const; @@ -54,7 +54,7 @@ namespace avr { * offset \e offset. The data to be written is passed via * the \e block variable. * - * \exception RuntimeException { When the write exceeds + * \exception AccessViolation { When the write exceeds * amount of memory, this exception is thrown } */ void write(unsigned int offset, unsigned char *block, unsigned int size = 1); -- 2.11.4.GIT