Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */
 package org.jboss.as.test.integration.management.util;
 

Author(s):
dpospisi
public class MgmtOperationException extends Exception {
    private ModelNode operation;
    private ModelNode result;

    
Creates a new instance of MgmtOperationException without detail message.
    public MgmtOperationException() {
    }

    
Constructs an instance of MgmtOperationException with the specified detail message.

Parameters:
msg the detail message.
    public MgmtOperationException(String msg) {
        super(msg);
    }

    
Constructs an instance of MgmtOperationException with the specified detail message.

Parameters:
msg the detail message.
    public MgmtOperationException(String msgModelNode operationModelNode result) {
        super(msg);
        this. = operation;
        this. = result;
    }

    

Returns:
the operation
    public ModelNode getOperation() {
        return ;
    }

    

Returns:
the result
    public ModelNode getResult() {
        return ;
    }
    @Override
    public String toString() {
        return "MgmtOperationException{" +
                "operation=" +  +
                ", result=" +  +
                '}';
    }
New to GrepCode? Check out our FAQ X