@Override public void logUsesConstraintViolation(Resource resource, ResolutionError error) { if (errors == null) { errors = new HashMap<Resource, ResolutionException>(); } errors.put(resource, error.toException()); if (DEBUG_USES) { Debug.println(new StringBuilder("RESOLVER: Uses constraint violation") //$NON-NLS-1$ .append(SEPARATOR).append(TAB) // .append("Resource") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(resource) // .append(SEPARATOR).append(TAB) // .append("Error") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(error.getMessage()) // .toString()); } }
@Override public void logUsesConstraintViolation(Resource resource, ResolutionError error) { if (errors == null) { errors = new HashMap<Resource, ResolutionException>(); } errors.put(resource, error.toException()); if (DEBUG_USES) { Debug.println(new StringBuilder("RESOLVER: Uses constraint violation") //$NON-NLS-1$ .append(SEPARATOR).append(TAB) // .append("Resource") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(resource) // .append(SEPARATOR).append(TAB) // .append("Error") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(error.getMessage()) // .toString()); } }
@Override public void logUsesConstraintViolation(Resource resource, ResolutionError error) { if (errors == null) { errors = new HashMap<>(); } errors.put(resource, error.toException()); if (DEBUG_USES) { Debug.println(new StringBuilder("RESOLVER: Uses constraint violation") //$NON-NLS-1$ .append(SEPARATOR).append(TAB) // .append("Resource") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(resource) // .append(SEPARATOR).append(TAB) // .append("Error") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(error.getMessage()) // .toString()); } }
@Override public void logUsesConstraintViolation(Resource resource, ResolutionError error) { if (errors == null) { errors = new HashMap<>(); } errors.put(resource, error.toException()); if (DEBUG_USES) { Debug.println(new StringBuilder("RESOLVER: Uses constraint violation") //$NON-NLS-1$ .append(SEPARATOR).append(TAB) // .append("Resource") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(resource) // .append(SEPARATOR).append(TAB) // .append("Error") //$NON-NLS-1$ .append(SEPARATOR).append(TAB).append(TAB) // .append(error.getMessage()) // .toString()); } }
@Override public ResolutionException toException() { return new ReasonException( ReasonException.Reason.MissingRequirement, getMessage(), cause != null ? cause.toException() : null, getUnresolvedRequirements()); }
@Override public ResolutionException toException() { return new ReasonException( ReasonException.Reason.MissingRequirement, getMessage(), cause != null ? cause.toException() : null, getUnresolvedRequirements()); }
@Override public ResolutionException toException() { return new ReasonException( ReasonException.Reason.MissingRequirement, getMessage(), cause != null ? cause.toException() : null, getUnresolvedRequirements()); }
@Override public ResolutionException toException() { return new ReasonException( ReasonException.Reason.MissingRequirement, getMessage(), cause != null ? cause.toException() : null, getUnresolvedRequirements()); }
@Override public ResolutionException toException() { return new ReasonException( ReasonException.Reason.MissingRequirement, getMessage(), cause != null ? cause.toException() : null, getUnresolvedRequirements()); }
throw rethrow.toException(); throw rethrow.toException();
if (rethrow != null) throw rethrow.toException(); throw rethrow.toException();
throw rethrow.toException(); throw rethrow.toException();
if (rethrow != null) throw rethrow.toException(); throw rethrow.toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();
throw session.getCurrentError().toException(); throw session.getCurrentError().toException();