test_class.declarator: simpleCause = new IllegalStateException(new IllegalArgumentException())
test_class.modifier: final
test_class.original_string: final Exception simpleCause = new IllegalStateException(new IllegalArgumentException());
test_class.type: Exception
test_class.var_name: simpleCause
test_class.file: core/src/test/java/net/adamcin/oakpal/core/DefaultErrorListenerTest.java
test_class.identifier: DefaultErrorListenerTest
test_case.body: @Test
      public void testOnJcrPrivilegeRegistrationError() {
          new DefaultErrorListener().onJcrPrivilegeRegistrationError(simpleCause, null);
      }
test_case.class_method_signature: DefaultErrorListenerTest.testOnJcrPrivilegeRegistrationError()
test_case.full_signature: @Test public void testOnJcrPrivilegeRegistrationError()
test_case.identifier: testOnJcrPrivilegeRegistrationError
test_case.invocations: onJcrPrivilegeRegistrationError
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOnJcrPrivilegeRegistrationError()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(DefaultErrorListener.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(DefaultErrorListener.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: collector = new ReportCollector()
focal_class.modifier: private final
focal_class.original_string: private final ReportCollector collector = new ReportCollector();
focal_class.type: ReportCollector
focal_class.var_name: collector
focal_class.declarator: resourceBundle
focal_class.modifier: private
focal_class.original_string: private ResourceBundle resourceBundle;
focal_class.type: ResourceBundle
focal_class.var_name: resourceBundle
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/DefaultErrorListener.java
focal_class.identifier: DefaultErrorListener
focal_class.interfaces: implements ErrorListener
focal_class.class_method_signature: DefaultErrorListener.reportViolation(final Violation violation)
focal_class.full_signature: protected void reportViolation(final Violation violation)
focal_class.identifier: reportViolation
focal_class.modifiers: protected
focal_class.parameters: (final Violation violation)
focal_class.return: void
focal_class.signature: void reportViolation(final Violation violation)
focal_class.class_method_signature: DefaultErrorListener.setResourceBundle(final ResourceBundle resourceBundle)
focal_class.full_signature: @Override public void setResourceBundle(final ResourceBundle resourceBundle)
focal_class.identifier: setResourceBundle
focal_class.modifiers: @Override public
focal_class.parameters: (final ResourceBundle resourceBundle)
focal_class.return: void
focal_class.signature: void setResourceBundle(final ResourceBundle resourceBundle)
focal_class.class_method_signature: DefaultErrorListener.getResourceBundle()
focal_class.full_signature: @NotNull protected ResourceBundle getResourceBundle()
focal_class.identifier: getResourceBundle
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: ResourceBundle
focal_class.signature: ResourceBundle getResourceBundle()
focal_class.class_method_signature: DefaultErrorListener.getString(@NotNull final String key)
focal_class.full_signature: @NotNull protected String getString(@NotNull final String key)
focal_class.identifier: getString
focal_class.modifiers: @NotNull protected
focal_class.parameters: (@NotNull final String key)
focal_class.return: String
focal_class.signature: String getString(@NotNull final String key)
focal_class.class_method_signature: DefaultErrorListener.getReportedViolations()
focal_class.full_signature: @Override public Collection<Violation> getReportedViolations()
focal_class.identifier: getReportedViolations
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<Violation>
focal_class.signature: Collection<Violation> getReportedViolations()
focal_class.class_method_signature: DefaultErrorListener.onNodeTypeRegistrationError(final Throwable error, final URL resource)
focal_class.full_signature: @Override public void onNodeTypeRegistrationError(final Throwable error, final URL resource)
focal_class.identifier: onNodeTypeRegistrationError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final URL resource)
focal_class.return: void
focal_class.signature: void onNodeTypeRegistrationError(final Throwable error, final URL resource)
focal_class.class_method_signature: DefaultErrorListener.onJcrNamespaceRegistrationError(final Throwable error, final String prefix, final String uri)
focal_class.full_signature: @Override public void onJcrNamespaceRegistrationError(final Throwable error, final String prefix, final String uri)
focal_class.identifier: onJcrNamespaceRegistrationError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final String prefix, final String uri)
focal_class.return: void
focal_class.signature: void onJcrNamespaceRegistrationError(final Throwable error, final String prefix, final String uri)
focal_class.class_method_signature: DefaultErrorListener.onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)
focal_class.full_signature: @Override public void onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)
focal_class.identifier: onJcrPrivilegeRegistrationError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final String jcrPrivilege)
focal_class.return: void
focal_class.signature: void onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)
focal_class.class_method_signature: DefaultErrorListener.onForcedRootCreationError(final Throwable error, final ForcedRoot forcedRoot)
focal_class.full_signature: @Override public void onForcedRootCreationError(final Throwable error, final ForcedRoot forcedRoot)
focal_class.identifier: onForcedRootCreationError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final ForcedRoot forcedRoot)
focal_class.return: void
focal_class.signature: void onForcedRootCreationError(final Throwable error, final ForcedRoot forcedRoot)
focal_class.class_method_signature: DefaultErrorListener.onListenerException(final Exception error, final ProgressCheck listener, final PackageId packageId)
focal_class.full_signature: @Override public void onListenerException(final Exception error, final ProgressCheck listener, final PackageId packageId)
focal_class.identifier: onListenerException
focal_class.modifiers: @Override public
focal_class.parameters: (final Exception error, final ProgressCheck listener, final PackageId packageId)
focal_class.return: void
focal_class.signature: void onListenerException(final Exception error, final ProgressCheck listener, final PackageId packageId)
focal_class.class_method_signature: DefaultErrorListener.onSubpackageException(final Exception error, final PackageId packageId)
focal_class.full_signature: @Override public void onSubpackageException(final Exception error, final PackageId packageId)
focal_class.identifier: onSubpackageException
focal_class.modifiers: @Override public
focal_class.parameters: (final Exception error, final PackageId packageId)
focal_class.return: void
focal_class.signature: void onSubpackageException(final Exception error, final PackageId packageId)
focal_class.class_method_signature: DefaultErrorListener.onImporterException(final Exception error, final PackageId packageId, final String path)
focal_class.full_signature: @Override public void onImporterException(final Exception error, final PackageId packageId, final String path)
focal_class.identifier: onImporterException
focal_class.modifiers: @Override public
focal_class.parameters: (final Exception error, final PackageId packageId, final String path)
focal_class.return: void
focal_class.signature: void onImporterException(final Exception error, final PackageId packageId, final String path)
focal_class.class_method_signature: DefaultErrorListener.onListenerPathException(final Exception error, final ProgressCheck handler,
                                          final PackageId packageId, final String path)
focal_class.full_signature: @Override public void onListenerPathException(final Exception error, final ProgressCheck handler,
                                          final PackageId packageId, final String path)
focal_class.identifier: onListenerPathException
focal_class.modifiers: @Override public
focal_class.parameters: (final Exception error, final ProgressCheck handler,
                                          final PackageId packageId, final String path)
focal_class.return: void
focal_class.signature: void onListenerPathException(final Exception error, final ProgressCheck handler,
                                          final PackageId packageId, final String path)
focal_class.class_method_signature: DefaultErrorListener.onInstallHookError(final Throwable error, final PackageId packageId)
focal_class.full_signature: @Override public void onInstallHookError(final Throwable error, final PackageId packageId)
focal_class.identifier: onInstallHookError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final PackageId packageId)
focal_class.return: void
focal_class.signature: void onInstallHookError(final Throwable error, final PackageId packageId)
focal_class.class_method_signature: DefaultErrorListener.onProhibitedInstallHookRegistration(final PackageId packageId)
focal_class.full_signature: @Override public void onProhibitedInstallHookRegistration(final PackageId packageId)
focal_class.identifier: onProhibitedInstallHookRegistration
focal_class.modifiers: @Override public
focal_class.parameters: (final PackageId packageId)
focal_class.return: void
focal_class.signature: void onProhibitedInstallHookRegistration(final PackageId packageId)
focal_class.class_method_signature: DefaultErrorListener.onRepoInitUrlError(final Throwable error, final URL repoinitUrl)
focal_class.full_signature: @Override public void onRepoInitUrlError(final Throwable error, final URL repoinitUrl)
focal_class.identifier: onRepoInitUrlError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final URL repoinitUrl)
focal_class.return: void
focal_class.signature: void onRepoInitUrlError(final Throwable error, final URL repoinitUrl)
focal_class.class_method_signature: DefaultErrorListener.onRepoInitInlineError(final Throwable error, final List<String> repoinits)
focal_class.full_signature: @Override public void onRepoInitInlineError(final Throwable error, final List<String> repoinits)
focal_class.identifier: onRepoInitInlineError
focal_class.modifiers: @Override public
focal_class.parameters: (final Throwable error, final List<String> repoinits)
focal_class.return: void
focal_class.signature: void onRepoInitInlineError(final Throwable error, final List<String> repoinits)
focal_class.class_method_signature: DefaultErrorListener.onSlingEmbeddedPackageError(Throwable error, EmbeddedPackageInstallable installable)
focal_class.full_signature: @Override public void onSlingEmbeddedPackageError(Throwable error, EmbeddedPackageInstallable installable)
focal_class.identifier: onSlingEmbeddedPackageError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable error, EmbeddedPackageInstallable installable)
focal_class.return: void
focal_class.signature: void onSlingEmbeddedPackageError(Throwable error, EmbeddedPackageInstallable installable)
focal_class.class_method_signature: DefaultErrorListener.onSlingRepoInitScriptsError(Throwable error, List<String> scripts, String failedScript, SlingInstallable installable)
focal_class.full_signature: @Override public void onSlingRepoInitScriptsError(Throwable error, List<String> scripts, String failedScript, SlingInstallable installable)
focal_class.identifier: onSlingRepoInitScriptsError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable error, List<String> scripts, String failedScript, SlingInstallable installable)
focal_class.return: void
focal_class.signature: void onSlingRepoInitScriptsError(Throwable error, List<String> scripts, String failedScript, SlingInstallable installable)
focal_class.class_method_signature: DefaultErrorListener.onSlingCreateInstallableError(final Exception error,
                                                final Class<? extends SlingInstallable> installableType,
                                                final PackageId parentId, final String jcrPath)
focal_class.full_signature: @Override public void onSlingCreateInstallableError(final Exception error,
                                                final Class<? extends SlingInstallable> installableType,
                                                final PackageId parentId, final String jcrPath)
focal_class.identifier: onSlingCreateInstallableError
focal_class.modifiers: @Override public
focal_class.parameters: (final Exception error,
                                                final Class<? extends SlingInstallable> installableType,
                                                final PackageId parentId, final String jcrPath)
focal_class.return: void
focal_class.signature: void onSlingCreateInstallableError(final Exception error,
                                                final Class<? extends SlingInstallable> installableType,
                                                final PackageId parentId, final String jcrPath)
focal_method.body: @Override
      public void onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege) {
          if (error.getCause() != null) {
              onJcrPrivilegeRegistrationError(error.getCause(), jcrPrivilege);
          } else {
              final String message = MessageFormat.format(getString("JCR privilege registration error ({0}): {1} \"{2}\""),
                      jcrPrivilege, error.getClass().getName(), error.getMessage());
              LOGGER.trace("[onJcrPrivilegeRegistrationError] stack trace for: " + message, error);
              reportViolation(new SimpleViolation(Severity.MAJOR, message));
          }
      }
focal_method.class_method_signature: DefaultErrorListener.onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)
focal_method.full_signature: @Override public void onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)
focal_method.identifier: onJcrPrivilegeRegistrationError
focal_method.invocations: getCause onJcrPrivilegeRegistrationError getCause format getString getName getClass getMessage trace reportViolation
focal_method.modifiers: @Override public
focal_method.parameters: (final Throwable error, final String jcrPrivilege)
focal_method.return: void
focal_method.signature: void onJcrPrivilegeRegistrationError(final Throwable error, final String jcrPrivilege)