ChanUseUnificationException.java 559 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
package jcircus.exceptions;

import jcircus.util.ChanUse;

/**
* ChanUseUnificationException.java
*
* @author Angela Freitas
*/
public class ChanUseUnificationException extends Exception {
public ChanUseUnificationException() {
super("It is not possible to unify the ChanUse in the composite processes.");
}
public ChanUseUnificationException(String chanName, ChanUse chanUseInEnv, ChanUse chanUse) {
super("Channel '" + chanName + "': " + chanUseInEnv + " (old), " + chanUse + "(new)");
}

}