Class TypeMismathException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TypeMismathException
    extends ConversionException
    This exception may be thrown by PropertyConverters, if a conversion is attempted on the wrong type (class).
    Version:
    $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/convert/TypeMismathException.java#1 $
    Author:
    Harald Kuhr, last modified by $Author: haku $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeMismathException​(java.lang.Class pWrongType)
      Creates a TypeMismathException.
    • Method Summary

      • 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

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

      • TypeMismathException

        public TypeMismathException​(java.lang.Class pWrongType)
        Creates a TypeMismathException.
        Parameters:
        pWrongType - the type we couldn't convert