コード例 #1
0
 /**
  * Constructs an ezcDbSchemaDropAllColumnsException 
  *
  * @param string $message reason of fail.
  */
 function __construct($message)
 {
     parent::__construct("Couldn't drop all columns in table. {$message}");
 }
コード例 #2
0
 /**
  * Constructs an ezcDbSchemaInvalidDiffReaderClassException for reader class $readerClass
  *
  * @param string $readerClass
  */
 function __construct($readerClass)
 {
     parent::__construct("Class '{$readerClass}' does not exist, or does not implement the 'ezcDbSchemaDiffReader' interface.");
 }
コード例 #3
0
 /**
  * Constructs an ezcDbSchemaInvalidSchemaException with an optional message.
  *
  * @param string $message
  */
 function __construct($message = null)
 {
     $messagePart = $message !== null ? " ({$message})" : "";
     parent::__construct("The schema is invalid.{$messagePart}");
 }
コード例 #4
0
 /**
  * Constructs an ezcDbSchemaSqliteDropFieldException 
  *
  * @param string $message reason of fail.
  */
 function __construct($message)
 {
     parent::__construct("SQLite handler couldn't drop table field properly. {$message}");
 }
コード例 #5
0
 /**
  * Constructs an ezcDatabaseSchemaUnknownFormatException for the $format and handler type $type.
  *
  * @param string $format
  * @param string $type
  */
 function __construct($format, $type)
 {
     parent::__construct("There is no '{$type}' handler available for the '{$format}' format.");
 }
コード例 #6
0
 /**
  * Constructs an ezcDatabaseSchemaUnsupportedTypeException for the type $type.
  *
  * @param string $dbType
  * @param string $type
  */
 function __construct($dbType, $type)
 {
     parent::__construct("The field type '{$type}' is not supported with the '{$dbType}' handler.");
 }