Class TypeException

  • All Implemented Interfaces:
    Serializable

    public class TypeException
    extends RuntimeException

    Exception if a ImageWrapper does not matches a specific channel type

    Since:
    1.0
    Author:
    Andreas Pointner
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeException

        public TypeException​(Collection<ChannelType> supportedTypes,
                             ChannelType actual)
        Parameters:
        supportedTypes - a list of the channel types which would be supported
        actual - the channel type that was provided.