<?php
+// Own namespace
+namespace CoreFramework\Database;
+
/**
* A general database exception
*
// Just call the parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
/**
* An exception thrown when a file pointer is not opened or when the file
* cannot be reached.
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
/**
* An exception thrown when a file was not found (but could be found).
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a file is read-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't read this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a MD5 checksum does not exception
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a given path is not a directory
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a path is read-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a path cannot be written to.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Assertion;
+
/**
* An exception thrown when a assertion fails
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Object;
+
/**
* An exception thrown when two classes are not matching
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* This exception is thrown when a variable is unexpected empty
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Error;
+
/**
* An exception thrown when a "fatal" error has been captured by an error handler
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Array;
+
/**
* An exception thrown when an array index is out of bounds
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the number of array elements mismatch
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* This exception is thrown when a command is invalid
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* This exception is thrown when a command instance is invalid
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Object;
+
/**
* An exception thrown when an class instance does not implement a given interface
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Array;
+
/**
* An exception thrown when required array elements are missing
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the decimal and thousands separators are missing
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Object;
+
/**
* An exception thrown when a method is missing, this exception is used in
* guest/user login classes and thrown when a factory method is absend. I think
*/
public function __construct (array $classArray, $code) {
// Add a message around the missing class
- $message = sprintf('[%s:%d] This class has no method <u>%s()</u>.',
+ $message = sprintf('[%s:%d] This class has no method %s().',
$classArray[0]->__toString(),
$this->getLine(),
$classArray[1]
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Loader;
+
/**
* An exception thrown when a class was not found
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a variable is not set
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User;
+
/**
* An exception for mismatching passwords
*
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User;
+
/**
* An exception for unexpected guest accounts
*
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User;
+
/**
* An exception for non-existing user emails
*
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception for non-guest accounts (but guest was expected)
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @todo Better rename this
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User;
+
/**
* An exception for mismatching passwords
*
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User;
+
/**
* An exception for non-existing usernames
*
// Make sure everything is assigned properly
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}