Package org.jboss.as.controller.client.helpers.domain

Examples of org.jboss.as.controller.client.helpers.domain.RollbackCancelledException


    public Throwable getRollbackFailure() {
        if (rollbackResult == null) {
            return null;
        }
        else if (rollbackResult.isCancelled()) {
            return new RollbackCancelledException("Rollback was cancelled");
        }
        else if (rollbackResult.isRolledBack()) {
            return new RollbackCancelledException("Rollback was itself rolled back");
        }
        else if (rollbackResult.isTimedOut()) {
            return new RollbackCancelledException("Rollback timed out");
        }
        else {
            return rollbackResult.getFailureResult();
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.controller.client.helpers.domain.RollbackCancelledException

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.