Class InvalidImageIndexException

  • All Implemented Interfaces:
    Serializable

    public class InvalidImageIndexException
    extends OperationFailedException
    This exception is thrown when the caller has defined an image index that specifies the image to be loaded in a multiple-image file and that index is unavailable. Example: user has specified an image index of 5, which is the sixth image in the file (counting starts at 0), but only three images are available.
    Author:
    Marco Schmidt
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidImageIndexException

        public InvalidImageIndexException​(String message)
        Creates new exception object with a given error message.
        Parameters:
        message - String with text describing the exact problem