/**************************************************************************************** 
 Copyright © 2003-2012 hbasesoft Corporation. All rights reserved. Reproduction or       <br>
 transmission in whole or in part, in any form or by any means, electronic, mechanical <br>
 or otherwise, is prohibited without the prior written consent of the copyright owner. <br>
 ****************************************************************************************/
package com.hbasesoft.framework.ai.agent.event;

/**
 * <Description> <br>
 * 
 * @author 王伟<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2025年8月20日 <br>
 * @since V1.0<br>
 * @see com.hbasesoft.framework.ai.agent.event <br>
 */

public class PlanExceptionEvent implements JmanusEvent {

    private String planId;

    private Throwable throwable;

    private long createTime;

    public PlanExceptionEvent(String planId, Throwable throwable) {
        this.planId = planId;
        this.throwable = throwable;
        this.createTime = System.currentTimeMillis();
    }

    public String getPlanId() {
        return planId;
    }

    public Throwable getThrowable() {
        return throwable;
    }

    public long getCreateTime() {
        return createTime;
    }

}