Added simple exception handling to CStorage, in case of reading out of bounds