Class ExceptionTypeCreator


  • public class ExceptionTypeCreator
    extends RepositoryEntity
    This class constructs an ExceptionType. It is used to create the 'ExceptionType' object step-by-step, i.e. 'ExceptionTypeCreator' objects are of intermediate state.
    See Also:
    ExceptionType
    • Constructor Detail

    • Method Detail

      • withName

        public ExceptionTypeCreator withName​(String name)
        Description copied from class: Entity
        Defines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model.
        Overrides:
        withName in class Entity
        Returns:
        this current entity in the making
      • withExceptionMessage

        public ExceptionTypeCreator withExceptionMessage​(String message)
        Specifies the message this exception provides.
        Parameters:
        message -
        Returns:
        this exception in the making
      • build

        public org.palladiosimulator.pcm.repository.ExceptionType build()
        Description copied from class: Entity
        Turns the entity in the making into the finished entity.
        Specified by:
        build in class Entity
        Returns:
        the finished entity