fromValue

Returns the PlayerWarningCode, SourceWarningCode or OfflineWarningCode warning code associated with the raw code value. Throws an IllegalArgumentException if the value does not belong to any of the known warning codes.