public function exception()
{
if (func_num_args() < 3) {
throw new DomainException('Callback exception');
}
$args = func_get_args();
$this->assertGreaterThanOrEqual(3, count($args));
throw new DomainException(sprintf('Callback exception: %s', $args[1]));
}