Class VariantTypeException

    • Constructor Summary

      Constructors 
      Constructor Description
      VariantTypeException​(long variantType, java.lang.Object value, java.lang.String msg)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getValue()
      Returns the value who's variant type caused the problem.
      long getVariantType()
      Returns the offending variant type.
      • Methods inherited from class java.lang.Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VariantTypeException

        public VariantTypeException​(long variantType,
                                    java.lang.Object value,
                                    java.lang.String msg)

        Constructor.

        Parameters:
        variantType - The variant type causing the problem
        value - The value who's variant type causes the problem
        msg - A message text describing the problem
    • Method Detail

      • getVariantType

        public long getVariantType()

        Returns the offending variant type.

        Returns:
        the offending variant type.
      • getValue

        public java.lang.Object getValue()

        Returns the value who's variant type caused the problem.

        Returns:
        the value who's variant type caused the problem