1 package cz.cuni.amis.pogamut.ut2004.bot.sposh; 2 3 import cz.cuni.amis.utils.exception.PogamutException; 4 5 6 7 /** 8 * This exception is raised by ScriptedAgent and it's descendants. 9 * It usualy means that your scripts don't have required methods 10 * implemented or have syntax / logic errors. 11 * 12 * @author Jimmy 13 */ 14 public class ScriptedAgentException extends PogamutException { 15 16 /** 17 * Constructs a new exception with the specified detail message. 18 * @param message 19 */ 20 public ScriptedAgentException(String message){ 21 super(message, null); 22 } 23 24 /** 25 * Constructs a new exception with the specified detail message and cause. 26 * @param message 27 * @param cause 28 */ 29 public ScriptedAgentException(String message, Throwable cause) { 30 super(message, cause, null); 31 } 32 33 } 34