package de.thedevstack.conversationsplus.exceptions; /** * Exception to be shown in UI. */ public class UiException extends Exception { private static final long serialVersionUID = -1010015239132881427L; private int resId; public UiException(int resId) { this.resId = resId; } public UiException(int resId, Throwable e) { super(e); this.resId = resId; } public int getResId() { return resId; } }