001/*
002 * ===========================================================================================
003 * = COPYRIGHT
004 *          PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
005 *   This software is supplied under the terms of a license agreement or nondisclosure
006 *   agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or
007 *   disclosed except in accordance with the terms in that agreement.
008 *     Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved.
009 * Description: // Detail description about the function of this module,
010 *             // interfaces with the other modules, and dependencies.
011 * Revision History:
012 * Date                         Author                        Action
013 * 2017/04/01                   PAX                     Create/Add/Modify/Delete
014 * ===========================================================================================
015 */
016
017package com.pax.dal.exceptions;
018
019/**
020 * <div class="zh">TypeA 异常。</div>
021 * <div class="en">TypeA Exception.</div>
022 */
023public class TypeAException extends AGeneralException {
024    private static final long serialVersionUID = 1L;
025    private static final String MODULE = "TypeA";
026
027    public TypeAException(ETypeAException exception) {
028        super(MODULE, exception.getErrCodeFromBasement(), exception.getErrMsg());
029    }
030
031    public TypeAException(int errCode, String msg){
032        super(MODULE, errCode, msg);
033    }
034}