code: private static Type findType(String type, String value) throws IllegalArgumentException {
          if (type == null || type.length() == 0)
              throw new IllegalArgumentException("no SEPA type type given");
  
          if (value == null || value.length() == 0)
              throw new IllegalArgumentException("no SEPA version value given");
  
          for (Type t : Type.values()) {
              if (t.getType().equalsIgnoreCase(type) && t.getValue().equals(value))
                  return t;
          }
          throw new IllegalArgumentException("unknown SEPA version type: " + type + "." + value);
      }
docs: Liefert den enum-Type fuer den angegebenen Wert.
  
  @param type  der Type. "pain", "camt".
  @param value der Wert. 001, 002, 008, ....
  @return der zugehoerige Enum-Wert.
  @throws IllegalArgumentException wenn der Typ unbekannt ist.