package ru.mtuci.messenger.job; public class PermanentJobException extends RuntimeException { private final String errorCode; public PermanentJobException(String errorCode) { super(errorCode); this.errorCode = errorCode; } public String errorCode() { return errorCode; } }