{"push_id":601146426,"size":2,"distinct_size":2,"ref":"refs/heads/development","head":"7152b54f0688aab1f7d31e2d9a033b78a1f4e1ab","before":"9b3c04323092974f42bf05cfd0edb11d1209155a","commits":[{"sha":"431f0956fc28a426bcf40ab97bfea7880f2cf805","author":{"email":"d586a46f4e27f697d0a92dcf095605e1d23a8ded@dcs.bbk.ac.uk","name":"Oliver Smart"},"message":"Throw different exception types for FileIO errors and \nencoding/decoding.\n\nFor file IO errors throw a UncheckedIOException rather\nthan a IOException because checked exceptions rapidly become\nannoying and often get caught and ignored, see:\n\nhttp://www.mindview.net/Etc/Discussions/CheckedExceptions\n\nIn addition the specification does no have @throws on flush method.\nSo treating as a distinct UncheckedIOException that could be caught\nseems wise.","distinct":true,"url":"https://api.github.com/repos/BBK-PiJ-2014-66/cw4/commits/431f0956fc28a426bcf40ab97bfea7880f2cf805"},{"sha":"7152b54f0688aab1f7d31e2d9a033b78a1f4e1ab","author":{"email":"d586a46f4e27f697d0a92dcf095605e1d23a8ded@dcs.bbk.ac.uk","name":"Oliver Smart"},"message":"JUnit tests saveToFileThatCannotBeOpened\nand retrieveStateFromFileName() check that\nan  UncheckedIOException is raised.\n\nCurrent implement throws a RuntimeException instead.\n\nSerialEncoder_Test\nserialencodertest.SerialEncoder_Test\n[0]\nretrieveFromNonexistentFile[0](serialencodertest.SerialEncoder_Test)\njava.lang.Exception: Unexpected exception,\nexpected<java.io.UncheckedIOException> but\nwas<java.lang.RuntimeException>\n\tat ...\n\nsaveToFileThatCannotBeOpened[0](serialencodertest.SerialEncoder_Test)\njava.lang.Exception: Unexpected exception,\nexpected<java.io.UncheckedIOException> but\nwas<java.lang.RuntimeException>\n\tat ...","distinct":true,"url":"https://api.github.com/repos/BBK-PiJ-2014-66/cw4/commits/7152b54f0688aab1f7d31e2d9a033b78a1f4e1ab"}]}