Fixed style, fixed exceptions throwing for open(),isFull(),isOpen().