Package org.oasis.wsrf.faults

Examples of org.oasis.wsrf.faults.BaseFaultType


     */
    public static BaseFaultType makeFault(Class faultClass,
                                          String errMsg,
                                          Throwable t) {

        BaseFaultType fault = null;
        try {
            fault = (BaseFaultType) faultClass.newInstance();
            final FaultHelper faultHelper = new FaultHelper(fault);
            if (errMsg != null) {
                faultHelper.addDescription(errMsg);
            }

            if (t != null) {
                final BaseFaultType faultCause;
                if (t instanceof BaseFaultType) {
                    faultCause = (BaseFaultType) t;
                } else {
                    faultCause = FaultHelper.toBaseFault(t);
                }
View Full Code Here


    public static BaseFaultType makeFault(Class faultClass,
                                          String errMsg,
                                          Throwable t) {

        BaseFaultType fault = null;
        try {
            fault = (BaseFaultType) faultClass.newInstance();
            final FaultHelper faultHelper = new FaultHelper(fault);
            if (errMsg != null) {
                faultHelper.addDescription(errMsg);
            }

            if (t != null) {
                final BaseFaultType faultCause;
                if (t instanceof BaseFaultType) {
                    faultCause = (BaseFaultType) t;
                } else {
                    faultCause = FaultHelper.toBaseFault(t);
                }
View Full Code Here

TOP

Related Classes of org.oasis.wsrf.faults.BaseFaultType

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.