class MyException extends Exception{ // Die Exception neu definieren, damit die Mitteilung nicht optional ist public function __construct($message, $code = 0, Exception $previous = null) { // etwas Code // sicherstellen, dass alles korrekt zugewiesen wird parent::__construct($message, $code, $previous); } // maßgeschneiderte Stringdarstellung des Objektes public function __toString() { return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; } public function customFunction() { echo "Eine eigene Funktion dieses Exceptiontyps\n"; }}
1More
1More
The 4th lesson of Python tutorial, booleans and some built-in functions - 0 views
1More
Keeping Your Web Designs Stylish Yet Functional - 0 views
Web Accessibility Test - 0 views
1More
Why is Software Testing and QA Important for Business? - 0 views
1More
Why Mobile Application Testing is Important for Application - 0 views
2More
A Brief Discussion on Drupal 8 Mobile Initiative - 0 views
2More
Is PHP Web Development advantageous for Online Business? - 0 views
1More
Difference Between A Site And A Fully Functional Website - 1 views
‹ Previous
21 - 40 of 365
Next ›
Last »
Showing 20▼ items per page