blob: b902571fc6f3a1e70e05434271e412e132603c01 [file] [log] [blame]
package net.onrc.onos.core.topology;
/**
* Exception thrown, when topology could not mutated due to unmet preconditions.
*/
public class TopologyMutationFailed extends RuntimeException {
/**
* Constructs a new exception with the specified detail message.
* {@link RuntimeException#RuntimeException(String)}
*
* @param message failure description
*/
public TopologyMutationFailed(String message) {
super(message);
}
/**
* Constructs a new exception with the specified cause.
* {@link RuntimeException#RuntimeException(Throwable)}
*
* @param cause exception causing this.
*/
public TopologyMutationFailed(Throwable cause) {
super(cause);
}
/**
* Constructs a new exception with the specified detail message and cause.
* {@link RuntimeException#RuntimeException(String, Throwable)}
*
* @param message failure description
* @param cause exception causing this.
*/
public TopologyMutationFailed(String message, Throwable cause) {
super(message, cause);
}
}