static Reliability lookupReliability(String name) throws JMSException {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "lookupReliability", name);
    Reliability result;

    // map asSIBDest -> NONE
    if (ApiJmsConstants.MAPPING_AS_SIB_DESTINATION.equals(name)) {
      result = Reliability.NONE;
    }
    else {
      try {
        result = Reliability.getReliabilityByName(name);
      }
      catch (Exception e) {
        // No FFDC code needed
        throw (JMSException) JmsErrorUtils.newThrowable(
          JMSException.class,
          "INVALID_VALUE_CWSIA0301",
          new Object[] { "quality of service", name },
          tc);
      }
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "lookupReliability",  result);
    return result;
  }
static Reliability lookupReliability ( String name ) throws JMSException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "lookupReliability" , name ) ; Reliability result ; if ( ApiJmsConstants . MAPPING_AS_SIB_DESTINATION . equals ( name ) ) { result = Reliability . NONE ; } else { try { result = Reliability . getReliabilityByName ( name ) ; } catch ( Exception e ) { throw ( JMSException ) JmsErrorUtils . newThrowable ( JMSException . class , "INVALID_VALUE_CWSIA0301" , new Object [ ] { "quality of service" , name } , tc ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "lookupReliability" , result ) ; return result ; }
Converts from a string name for a QOS (including the JMS specific "asSIBDestination")
to an instance of mfp's Reliability.

@param name
@return An instance of Reliability
@throws JMSException if the lookup fails