added RestException

RestExceptions object is passed into and built by ByteCodeReader.