Class TypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- science.aist.imaging.api.typecheck.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 Summary
Constructors Constructor Description TypeException(Collection<ChannelType> supportedTypes, ChannelType actual)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TypeException
public TypeException(Collection<ChannelType> supportedTypes, ChannelType actual)
- Parameters:
supportedTypes
- a list of the channel types which would be supportedactual
- the channel type that was provided.
-
-