public String getValueAsString() throws IllegalArgumentException {
    	if (!isOptionAsString(code)) {
            throw new IllegalArgumentException("DHCP option type ("+ this.code +") is not String");
        }
        if (this.value == null) {
            throw new IllegalStateException("value is null");
        }
        return DHCPPacket.bytesToString(this.value);
    }