Class NoSupportedDataTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSupportedDataTypeException
    extends java.lang.IllegalStateException
    Exception thrown when no supported data type was found.
    Since:
    0.4.0
    Author:
    Erich Schubert
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial version.
        See Also:
        Constant Field Values
      • types

        private final transient java.util.Collection<TypeInformation> types
        Available types
    • Constructor Detail

      • NoSupportedDataTypeException

        public NoSupportedDataTypeException​(TypeInformation type,
                                            java.util.Collection<TypeInformation> types)
        Constructor.
        Parameters:
        type - Requested type
        types - Available types.
      • NoSupportedDataTypeException

        public NoSupportedDataTypeException​(java.lang.String string)
        Constructor with string message. If possible, use the type parameter instead!
        Parameters:
        string - Error message
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable