code: public static RawFrame create(int mediumType, byte[] data, int offset)
  		throws KNXFormatException
  	{
  		switch (mediumType) {
  		case KNXMediumSettings.MEDIUM_TP0:
  			throw new KNXFormatException("TP0 raw frame not supported yet");
  		case KNXMediumSettings.MEDIUM_TP1:
  			return createTP1(data, offset);
  		case KNXMediumSettings.MEDIUM_PL110:
  			return createPL110(data, offset);
  		case KNXMediumSettings.MEDIUM_PL132:
  			return createPL132(data, offset);
  		case KNXMediumSettings.MEDIUM_RF:
  			throw new KNXFormatException("RF raw frame not supported yet");
  		default:
  			throw new KNXFormatException("unknown KNX medium for raw frame", mediumType);
  		}
  	}
docs: Creates a raw frame out of a byte array for the specified communication medium.
  <p>
  This method just invokes one of the other medium type specific creation methods
  according the given medium type.
  
  @param mediumType KNX communication medium, one of the media types declared in
  {@link KNXMediumSettings}
  @param data byte array containing the raw frame structure
  @param offset start offset of frame structure in <code>data</code>, 0 &lt;=
  offset &lt; <code>data.length</code>
  @return the created raw frame for the specified medium
  @throws KNXFormatException on unknown/not supported KNX medium or no valid frame
  structure