protected StateMachine (final Class<_State_> stateClass, final Class<_Transition_> transitionClass, final Transcript transcript_, final ExceptionTracer exceptions_)
{
super ();
// FIXME: Refactor code to wrap the exception handler into a transcript exception handler.
final Transcript transcript = (transcript_ != null) ? transcript_ : Transcript.create (this, true);
final TranscriptExceptionTracer exceptions = TranscriptExceptionTracer.create (transcript, (exceptions_ != null) ? exceptions_ : FallbackExceptionTracer.defaultInstance);
this.capsule = new Capsule (stateClass, transitionClass, transcript, exceptions);
this.transcript = this.capsule.transcript;
this.exceptions = this.capsule.exceptions;
this.capsule.transcript.traceDebugging ("created machine `%{object}`.", this);