class MailboxExecutorImpl implements MailboxExecutor {

	@Override
	public void execute(
			final ThrowingRunnable<? extends Exception> command,
			final String descriptionFormat,
			final Object... descriptionArgs) {
		try {
			mailbox.put(new Mail(command, priority, actionExecutor, descriptionFormat, descriptionArgs));
		} catch (IllegalStateException mbex) {
			throw new RejectedExecutionException(mbex);
		}
	}

	public  MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor);
	public  MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor, MailboxProcessor mailboxProcessor);

}