PortNotFoundException.java
package nl.tudelft.simulation.dsol.formalisms.devs.esdevs.exceptions;
/**
* PortAlreadyDefinedException class. An input or output port with the given name has already been defined for the model.
* <p>
* Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
* for project information <a href="https://simulation.tudelft.nl/" target="_blank"> https://simulation.tudelft.nl</a>. The DSOL
* project is distributed under a three-clause BSD-style license, which can be found at
* <a href="https://https://simulation.tudelft.nl/dsol/docs/latest/license.html" target="_blank">
* https://https://simulation.tudelft.nl/dsol/docs/latest/license.html</a>.
* </p>
* @author <a href="http://tudelft.nl/mseck">Mamadou Seck</a><br>
* @author <a href="http://tudelft.nl/averbraeck">Alexander Verbraeck</a><br>
*/
public class PortNotFoundException extends Exception
{
/** the default serial version UId. */
private static final long serialVersionUID = 1L;
/**
* default constructor.
*/
public PortNotFoundException()
{
//
}
/**
* @param message String; the message to display / print for the exception
*/
public PortNotFoundException(final String message)
{
super(message);
}
/**
* @param cause Throwable; the Throwable or Exception that caused this exception to occur
*/
public PortNotFoundException(final Throwable cause)
{
super(cause);
}
/**
* @param message String; the message to display / print for the exception
* @param cause Throwable; the Throwable or Exception that caused this exception to occur
*/
public PortNotFoundException(final String message, final Throwable cause)
{
super(message, cause);
}
}