package com.ydtech.aop.exception; public class ErrorInfo { String className; String fileName; String methodName; String lineNumber; public ErrorInfo(String className, String fileName, String methodName, String lineNumber) { this.className = className; this.fileName = fileName; this.methodName = methodName; this.lineNumber = lineNumber; } public String getClassName() { return className; } public void setClassName(String className) { this.className = className; } public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } public String getMethodName() { return methodName; } public void setMethodName(String methodName) { this.methodName = methodName; } public String getLineNumber() { return lineNumber; } public void setLineNumber(String lineNumber) { this.lineNumber = lineNumber; } @Override public String toString() { return "ErrorInfo{" + "className='" + className + '\'' + ", fileName='" + fileName + '\'' + ", methodName='" + methodName + '\'' + ", lineNumber='" + lineNumber + '\'' + '}'; } }