@Override public final NoSuchResourceException managementResourceNotFound(final PathAddress pathAddress) { final NoSuchResourceException result = new NoSuchResourceException(String.format(getLoggingLocale(), managementResourceNotFound$str(), pathAddress)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String childResourceNotFound = "WFLYCTL0217: Child resource '%s' not found";
@Override public final NoSuchResourceException managementResourceNotFound(final PathAddress pathAddress) { final NoSuchResourceException result = new NoSuchResourceException(String.format(getLoggingLocale(), managementResourceNotFound$str(), pathAddress)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String childResourceNotFound = "WFLYCTL0217: Child resource '%s' not found";
@Override public final NoSuchResourceException logFileNotFound(final String name, final String directoryProperty) { final NoSuchResourceException result = new NoSuchResourceException(String.format(getLoggingLocale(), logFileNotFound$str(), name, directoryProperty)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String readNotAllowed = "WFLYLOG0081: File '%s' is not allowed to be read.";
@Override public final NoSuchResourceException logFileNotFound(final String name, final String directoryProperty) { final NoSuchResourceException result = new NoSuchResourceException(String.format(getLoggingLocale(), logFileNotFound$str(), name, directoryProperty)); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String readNotAllowed = "WFLYLOG0081: File '%s' is not allowed to be read.";