diff --git a/src/main/java/com/loafle/commons/rpc/protocol/RPCError.java b/src/main/java/com/loafle/commons/rpc/protocol/RPCError.java index f8b7740..1b898e1 100644 --- a/src/main/java/com/loafle/commons/rpc/protocol/RPCError.java +++ b/src/main/java/com/loafle/commons/rpc/protocol/RPCError.java @@ -4,41 +4,41 @@ package com.loafle.commons.rpc.protocol; * Error */ public class RPCError { - public final int code; - public final String message; - public final Object data; + public final int code; + public final String message; + public final Object data; - /** - * Creates the error. - * - * @param code the code - * @param message the message - * @param data the data - */ - public RPCError(int code, String message, Object data) { - this.code = code; - this.message = message; - this.data = data; - } - - /** - * @return the code - */ - int getCode() { - return code; - } - - /** - * @return the message - */ - String getMessage() { - return message; - } - - /** - * @return the data - */ - Object getData() { - return data; -} + /** + * Creates the error. + * + * @param code the code + * @param message the message + * @param data the data + */ + public RPCError(int code, String message, Object data) { + this.code = code; + this.message = message; + this.data = data; + } + + /** + * @return the code + */ + int getCode() { + return code; + } + + /** + * @return the message + */ + String getMessage() { + return message; + } + + /** + * @return the data + */ + Object getData() { + return data; + } } \ No newline at end of file