Class UnknownTypeException

  • All Implemented Interfaces:
    java.io.Serializable, net.ssehub.easy.basics.messages.IIdentifiable

    public class UnknownTypeException
    extends net.ssehub.easy.dslCore.translation.TranslatorException
    Thrown in case of an unknown type.
    Author:
    Holger Eichelberger
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CODE  
      • Fields inherited from class net.ssehub.easy.dslCore.translation.TranslatorException

        CONSUME, INTERNAL
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownTypeException​(java.lang.String type, de.uni_hildesheim.sse.ivml.Type cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature)
      Creates an unknown type exception.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String composeMessage​(java.lang.String type)
      Composes the message for a given type.
      • Methods inherited from class net.ssehub.easy.dslCore.translation.TranslatorException

        consume, getCausingFeature, getCode, getECause, getId
      • 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
      • Methods inherited from interface net.ssehub.easy.basics.messages.IIdentifiable

        getMessage
    • Constructor Detail

      • UnknownTypeException

        public UnknownTypeException​(java.lang.String type,
                                    de.uni_hildesheim.sse.ivml.Type cause,
                                    org.eclipse.emf.ecore.EStructuralFeature causingFeature)
        Creates an unknown type exception.
        Parameters:
        type - the unknown type
        cause - the causing type (Ecore object)
        causingFeature - the causing Ecore feature
    • Method Detail

      • composeMessage

        public static java.lang.String composeMessage​(java.lang.String type)
        Composes the message for a given type.
        Parameters:
        type - the unknown type
        Returns:
        the message indicating an unknown type