Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.javaswift.joss.exception;
 
 public class CommandException extends RuntimeException {
 
     private int httpStatusCode;
     private CommandExceptionError error;
 
     public CommandException(Integer httpStatusCodeCommandExceptionError error) {
         this. = httpStatusCode;
        this. = error;
    }
    public CommandException(String message) {
        super(message);
    }
    public CommandException(String messageThrowable rootCause) {
        super(messagerootCause);
    }
    public int getHttpStatusCode() {
        return this.;
    }
    public CommandExceptionError getError() {
        return this.;
    }
    public String toString() {
        return  != 0 &&  != null ?
            "Command exception, HTTP Status code: "++" => " +  :
            super.toString();
    }
New to GrepCode? Check out our FAQ X