1 package cz.cuni.amis.pogamut.sposh.exceptions; 2 3 /** 4 * During automatic instantiation of state primitives, there can happen multiple 5 * exceptions that I can't bubble up nor ignore (e.g. state class can't be instantiated). 6 * This is a wrapper exception class for them. 7 * @author Honza 8 */ 9 public class StateInstantiationException extends RuntimeException { 10 public StateInstantiationException(String msg, Exception ex) { 11 super(msg, ex); 12 } 13 14 public StateInstantiationException(String msg) { 15 super(msg); 16 } 17 }