class LangUtils {

	public static Throwable getCauseServiceException(Throwable e){
		Throwable se ;
		if(!(e instanceof BaseException) && e!=null && e.getCause()!=null){
			se = getCauseServiceException(e.getCause());
		}else{
			se = e;
		}
		return se;
	}

}