src/edu/kit/informatik/Utilities.java
/**
     * Instantiates a new {@linkplain InvalidRelationException}.
     * It signalizes an invalid relation between 2 types.
     * @param firstType one of the types in the invalid relation
     * @param secondType the other type in the invalid relation
     * @return a new exception instance
     */
Instantiates a new  InvalidRelationException.
It signalizes an invalid relation between 2 types.
@param firstType one of the types in the invalid relation
@param secondType the other type in the invalid relation
@return a new exception instance
Instantiates a new InvalidRelationException . It signalizes an invalid relation between 2 types . @param firstType one of the types in the invalid relation @param secondType the other type in the invalid relation @return a new exception instance
public static InvalidRelationException invalidRelation(
            final Class<?> firstType, final Class<?> secondType) {
        return new InvalidRelationException("invalid relation between the given " + firstType.getSimpleName()
        + " and " + secondType.getSimpleName());
    }
public static InvalidRelationException invalidRelation ( final Class < ? > firstType , final Class < ? > secondType ) { return new InvalidRelationException ( "invalid relation between the given " + firstType . getSimpleName ( ) + " and " + secondType . getSimpleName ( ) ) ; }
Instantiates a new {@linkplain InvalidRelationException}.
Instantiates a new { @linkplain InvalidRelationException } .