/*********************************************************************
* All Rights reserved,Copyright (c) K-Opticom
**********************************************************************
*＜プログラム内容＞
*   システム名      ：eo顧客希ｿシステム
*	モジュール名	：ApiSystemException
*	ソースファイル名：ApiSystemException.java
*	作成者			：富士通
*	日付			：2018年07月13日
*＜機能概要＞
*	部品が使用する例外クラスです。
*＜修正履歴＞
*   バージョン  修正日       修正者      修正内容
*   v1.00.00    2018/07/13   FJ)鈴木     新規作成
*
**********************************************************************/
package local.gyomu.api.exception;


public class ApiSystemException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *  スタックトレース
	 */
	private Throwable ex;

	/**
	 *  置換文字情報
	 */
	private String[] repChar;

	/**
	 * Constructor for JCMsvlBusinessException.
	 * @param msg
	 */
	public ApiSystemException() {
		super();
	}

	/**
	 * Constructor for JCMsvlBusinessException.
	 * @param msg
	 */
	public ApiSystemException(String msg) {
		super(msg);
	}

	/**
	 * Constructor for JCMsvlBusinessException.
	 * @param msg
	 */
	public ApiSystemException(String msg,String[] repChar) {
		super(msg);
		this.repChar = repChar;
	}

	/**
	 * @return String[]
	 */
	public String[] getRepChar(){
		return this.repChar;
	}

	
	/**
	 * Sets the e.
	 * @param e The e to set
	 */
	public void setEx(Throwable ex) {
		this.ex = ex;
	}
	/**
	 * Returns the e.
	 * @return Throwable
	 */
	public Throwable getEx() {
		return ex;
	}
}
