00001 <?php 00024 class WrongGenderSpecifiedException extends FrameworkException { 00025 public function __construct ($gender, $code) { 00026 // Add a message around the missing class 00027 $message = sprintf("Das Geschlecht <span class=\"exception_reason\">%s</span> Ist nicht <em>M</em> (Männlich) oder <em>F</em> (Weiblich).", $gender); 00028 00029 // Call parent constructor 00030 parent::__construct($message, $code); 00031 } 00032 } 00033 00034 // [EOF] 00035 ?>
1.5.6