package com.taoke.autopay.exception; /** * @author * @title: OrderTaskExecutionDetailException * @description: 下单任务执行详情异常类 * @date 2025/7/28 */ public class OrderTaskExecutionDetailException extends Exception { public final static int CODE_COMMON = 1; public final static int CODE_DETAIL_NOT_FOUND = 10; public final static int CODE_DETAIL_CREATE_FAILED = 11; public final static int CODE_DETAIL_UPDATE_FAILED = 12; public final static int CODE_DETAIL_DELETE_FAILED = 13; private int code; public int getCode() { return code; } public OrderTaskExecutionDetailException(int code, String msg) { super(msg); this.code = code; } public OrderTaskExecutionDetailException(String msg) { super(msg); this.code = CODE_COMMON; } }