ctor for UnsignedByteexceptionException will be thrown if validation fails setValue(sValue);
setValue(sValue);
setValue(Long.parseLong(sValue));
validate the value against the xsd value space definitionparamsValue number to check against range if ( (sValue < 0L ) || (sValue > 255L) ) return false; else return true;
if ( (sValue < 0L ) || (sValue > 255L) ) return false; else return true;
validates the data and sets the value for the object.paramsValue the number to set if (UnsignedByte.isValid(sValue) == false) throw new NumberFormatException( Messages.getMessage("badUnsignedByte00") + String.valueOf(sValue) + "]"); lValue = new Long(sValue);
if (UnsignedByte.isValid(sValue) == false) throw new NumberFormatException( Messages.getMessage("badUnsignedByte00") + String.valueOf(sValue) + "]"); lValue = new Long(sValue);