Package com.arjuna.webservices.util

Examples of com.arjuna.webservices.util.InvalidEnumerationException


        final Object outcome = ENUM_MAP.get(value) ;
        if (outcome == null)
        {
            final String pattern = WSTLogger.log_mesg.getString("com.arjuna.webservices.wsat.Outcome_1") ;
            final String message = MessageFormat.format(pattern, new Object[] {value}) ;
            throw new InvalidEnumerationException(message) ;
        }
        return (Outcome)outcome ;
    }
View Full Code Here


        final Object state = ENUM_MAP.get(value) ;
        if (state == null)
        {
            final String pattern = WSCLogger.log_mesg.getString("com.arjuna.webservices.SoapFaultType_1") ;
            final String message = MessageFormat.format(pattern, new Object[] {value}) ;
            throw new InvalidEnumerationException(message) ;
        }
        return (SoapFaultType)state ;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.webservices.util.InvalidEnumerationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.