com.softicar.platform.common.io.resource.supplier.container.validator.error.ResourceSupplierContainerFieldResourceUnexpectedSuperMimeTypeError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.io.resource.supplier.container.validator.error;
import com.softicar.platform.common.core.constant.container.field.IConstantContainerField;
import com.softicar.platform.common.core.constant.container.validator.error.AbstractConstantContainerValidationError;
import com.softicar.platform.common.io.resource.supplier.IResourceSupplier;
public class ResourceSupplierContainerFieldResourceUnexpectedSuperMimeTypeError extends AbstractConstantContainerValidationError {
public ResourceSupplierContainerFieldResourceUnexpectedSuperMimeTypeError(IConstantContainerField field, String resourceMimeType,
String resourceKeySuperMimeType) {
super(//
field,
"Resource: Unexpected super mime type: Resource mime type '%s' was expected to start with super mime type '%s', as defined in the resource key.",
resourceMimeType,
resourceKeySuperMimeType);
}
}