About bearparc

A software development blog for the qualified developer

Blogroll

Application Server (24)
Business Intelligence (13)
Business Logic Layer (6)
C (2)
C++ (3)
CMMI (4)
Data Mining (3)
DataMart (11)
DataWarehouse (11)
ETL (7)
FAQ – Troubleshooting (8)
Framework (4)
Hardware (10)
Informatica Powercenter (6)
Investition (2)
J2ee (8)
Java (6)
JBoss (1)
Liferay (11)
LINUX (11)
objektorientiertes Design (2)
OLAP (7)
Oracle (48)
Projektmanagement (5)
Prozeßmodelle (4)
Software (33)
SQL (24)
Uncategorized (31)
Web 2.0 (5)
Weblogic (17)
wordpress (5)
XML (2)

WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

this ¤ workflow ¤ system ¤ ora-00845 ¤ resource ¤ acquire ¤ specified ¤ memory_target ¤ ora-00054: ¤ with ¤ nowait ¤ informatica ¤ busy ¤ supported ¤ to_integer ¤ 8024402c ¤ zeilen ¤ oracle ¤ linux ¤
ora-00845 linux ¤ informatica workflow ¤ ora-00054 ¤ ora-00845 ¤ ora-00845: memory_target not supported on this system ¤ ora-00054: resource busy and acquire with nowait specified ¤

www.brokerbase.ch network

Search



Add to Technorati Favorites Blogverzeichnis - Blog Verzeichnis bloggerei.de Deutsches Blog Verzeichnis blogoscoop Add to Google http://www.wikio.de
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

« | Main | »

PHP – Exception Management – Codebeispiel Datenbankzugriff

By Martin | June 8, 2009

PHP 4 Standard,
Reaktion auf den Fehler durch die() oder exit() :

$db = new DB();
$dbh =& $db->connect(…);
// Ausführung beenden, wenn keine Verbindung hergestellt werden kann
if ( !$dbh ) {
die ( ‘Konnte Verbindung nicht aufbauen!’ );
}

PHP 5, exception Modell:

try {
// Weiterverarbeitung der wichtigen Variable,
// die aber weder vorhanden noch definiert ist
require_once($wichtige_variable);
} catch (Exception $e) {
// Anweisungen für den Fall eines auftretenden Fehlers
echo “Abgefangen!”;
}

Social Bookmark These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Faves
  • LinkedIn
  • MisterWong
  • MySpace
  • Reddit
  • Technorati
  • Wikio
  • YahooBuzz
  • Ask
  • Google Bookmarks
  • Linkarena
  • Live-MSN
  • Newstube
  • seekXL
  • TwitThis
  • Webnews
  • Webride
  • Wikio DE
  • Y!GG
  • YahooMyWeb

Topics: Software, wordpress | No Comments »

Trackback URL for this post: http://www.bearparc.info/2009/06/08/php-exception-management-codebeispiel-datenbankzugriff/trackback/

Comments

You must be logged in to post a comment.