public class ExceptionMessage extends Object
用于封装异常通知的详细信息,包括异常标识、消息内容、发生次数等。 支持链式调用设置属性。
ExceptionMessage()
ExceptionMessage
increment()
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ExceptionMessage()
public ExceptionMessage increment()
将异常发生次数加1,并返回当前对象。
public String toString()
将异常消息的所有信息格式化为易读的字符串。
toString
Object
Copyright © 2025. All rights reserved.