info.freelibrary.iiif.presentation.v3.ContentOutOfBoundsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jiiify-presentation-v3 Show documentation
Show all versions of jiiify-presentation-v3 Show documentation
A Java Library for version 3 of the IIIF Presentation API
package info.freelibrary.iiif.presentation.v3;
import info.freelibrary.iiif.presentation.v3.utils.MessageCodes;
import info.freelibrary.util.I18nRuntimeException;
/**
* An exception thrown when attempting to paint a {@link Canvas} (or a region of one) with a {@link ContentResource}
* that doesn't fit within the canvas (or region) bounds.
*/
public class ContentOutOfBoundsException extends I18nRuntimeException {
/**
* The serialVersionUID
for an ContentResourceOutOfBoundsException.
*/
private static final long serialVersionUID = 500985625287874950L;
/**
* Creates a new ContentResourceOutOfBoundsException.
*
* @param aMessageCode A message code
* @param aDetails Additional details about the exception
*/
public ContentOutOfBoundsException(final String aMessageCode, final Object... aDetails) {
super(MessageCodes.BUNDLE, aMessageCode, aDetails);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy