/** * Get the message written in the current locale. * * @return the message */ public String getMessageString() { return this.message.text(this.parameters); }
/** * @return The problem encountered while localizing this internationalization object to the default locale, or * <code>null</code> if none was encountered. */ public String problem() { return problem(null); }
/** * Get the message written in the current locale. * * @return the message */ public String getMessageString() { return this.message.text(this.parameters); }
/** * @return The problem encountered while localizing this internationalization object to the default locale, or * <code>null</code> if none was encountered. */ public String problem() { return problem(null); }
/** * Get the message written in the current locale. * * @return the message */ public String getMessageString() { return this.message.text(this.parameters); }
/** * @return The problem encountered while localizing this internationalization object to the default locale, or * <code>null</code> if none was encountered. */ public String problem() { return problem(null); }
public UuidAlreadyExistsException( String repositorySourceName, UUID uuid, String pathAsString, String workspaceName ) { super(repositorySourceName, GraphI18n.nodeAlreadyExistsWithUuid.text(uuid, pathAsString, workspaceName)); }
/** * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the default * locale. */ public boolean hasProblem() { return (problem() != null); }
/** * Get the localized text for the {@link Locale#getDefault() current (default) locale}, replacing the parameters in the text * with those supplied. * * @param arguments the arguments for the parameter replacement; may be <code>null</code> or empty * @return the localized text */ @Override public String text( Object... arguments ) { return text(null, arguments); }
/** * @param locale The locale for which to check whether a problem was encountered. * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the supplied * locale. */ public boolean hasProblem( Locale locale ) { return (problem(locale) != null); }
/** * Get the name of this service in the current locale. * * @return the service name */ public String getServiceName() { return this.serviceName.text(); }
/** * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the default * locale. */ public boolean hasProblem() { return (problem() != null); }
/** * Get the name of this service in the specified locale. * * @param locale the locale in which the service name is to be returned; may be null if the default locale is to be used * @return the service name */ public String getServiceName( Locale locale ) { return this.serviceName.text(locale); }
/** * @param locale The locale for which to check whether a problem was encountered. * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the supplied * locale. */ public boolean hasProblem( Locale locale ) { return (problem(locale) != null); }
/** * Get the localized text for the {@link Locale#getDefault() current (default) locale}, replacing the parameters in the text * with those supplied. * * @param arguments the arguments for the parameter replacement; may be <code>null</code> or empty * @return the localized text */ @Override public String text( Object... arguments ) { return text(null, arguments); }
/** * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the default * locale. */ public boolean hasProblem() { return (problem() != null); }
@Override public String getMessage() { return JcrI18n.referentialIntegrityException.text(referrersByRemovedNode); } }
/** * @param locale The locale for which to check whether a problem was encountered. * @return <code>true</code> if a problem was encountered while localizing this internationalization object to the supplied * locale. */ public boolean hasProblem( Locale locale ) { return (problem(locale) != null); }
/** * Get the localized text for the {@link Locale#getDefault() current (default) locale}, replacing the parameters in the text * with those supplied. * * @param arguments the arguments for the parameter replacement; may be <code>null</code> or empty * @return the localized text */ @Override public String text( Object... arguments ) { return text(null, arguments); }
@Override public String getMessage() { return JcrI18n.referentialIntegrityException.text(referrersByRemovedNode); } }