@Override public final TimeoutException operationTimedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), operationTimedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String operationCancelled = "JBTHR00004: Operation was cancelled";
@Override public final TimeoutException opTimedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), opTimedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String propReadForbidden = "XNIO001005: Not allowed to read non-XNIO properties";
@Override public final TimeoutException timedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), timedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String transactionNoLongerActive = "EJBCLIENT000408: Inflowed transaction is no longer active";
@Override public final TimeoutException failToCompleteTaskBeforeTimeOut(final long timeout, final TimeUnit unit) { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), failToCompleteTaskBeforeTimeOut$str(), timeout, unit)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String taskWasCancelled = "WFLYEJB0203: Task was cancelled";
@Override public final TimeoutException timedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), timedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String transactionNoLongerActive = "EJBCLIENT000408: Inflowed transaction is no longer active";
@Override public final TimeoutException operationTimedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), operationTimedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String operationCancelled = "JBTHR00004: Operation was cancelled";
@Override public final TimeoutException timedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), timedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String transactionNoLongerActive = "EJBCLIENT000408: Inflowed transaction is no longer active";
@Override public final TimeoutException operationTimedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), operationTimedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String operationCancelled = "JBTHR00004: Operation was cancelled";
@Override public final TimeoutException opTimedOut() { final TimeoutException result = new TimeoutException(String.format(getLoggingLocale(), opTimedOut$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String propReadForbidden = "XNIO001005: Not allowed to read non-XNIO properties";
LOG.error(timeoutErrorMessage != null ? timeoutErrorMessage : "Timeout while waiting to start service.", e); TimeoutException timeoutException = new TimeoutException(timeoutErrorMessage); if (e.getStackTrace() != null) { timeoutException.setStackTrace(e.getStackTrace());
LOG.error(timeoutErrorMessage != null ? timeoutErrorMessage : "Timeout while waiting to start service.", e); TimeoutException timeoutException = new TimeoutException(timeoutErrorMessage); if (e.getStackTrace() != null) { timeoutException.setStackTrace(e.getStackTrace());