41424344454647
public class LogEvent extends AbstractEvent { private final Message message; public LogEvent(String message) { this.message = new SimpleMessage(message); }
5051525354555657
return throwable; } @Override public final Message getMessage() { if (message == null) message = new SimpleMessage(throwable.toString()); return message; }
36373839404142
import com.sos.scheduler.engine.kernel.event.SimpleMessage; public class UnknownCommandException extends SchedulerException { public UnknownCommandException(String commandName) { super(new SimpleMessage("SCHEDULER-105", commandName)); }