/** * Retruns the ValueType corresponding to this MessageFormat * * @return value type * @throws MessageFormatException if this == NEVER_USED type */ public ValueType getValueType() throws MessageFormatException { if (this == NEVER_USED) { throw new MessageFormatException("Cannot convert NEVER_USED to ValueType"); } return valueType; }
throw new MessageFormatException("Unexpected UTF-8 multibyte sequence"); throw new MessageFormatException("Unexpected UTF-8 multibyte sequence", ex);
throw new MessageFormatException("Unknown value type");