Class DuplicateMechanismException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DuplicateMechanismException
    extends MechanismCreationException
    Represents an error in setting up a mechanism, caused by a matching mechanism already existing.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DuplicateMechanismException​(java.lang.String detailMessage, Mechanism cause)
      Create a new exception containing a message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Mechanism getCausingMechanism()  
      • 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

      • DuplicateMechanismException

        public DuplicateMechanismException​(java.lang.String detailMessage,
                                           Mechanism cause)
        Create a new exception containing a message.
        Parameters:
        detailMessage - The message cause of the exception.
    • Method Detail

      • getCausingMechanism

        public Mechanism getCausingMechanism()