Skip to content

Commit

Permalink
Namespaces renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-T committed Jul 24, 2024
1 parent 83d579d commit ccb55a5
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

namespace LongitudeOne\BinaryWriter\Exception;

use JetBrains\PhpStorm\Pure;

/**
* Unsupported (M or/and Z) dimensions exception.
*
Expand All @@ -26,20 +24,4 @@
*/
class UnsupportedDimensionException extends \InvalidArgumentException implements ExceptionInterface
{
/**
* UnsupportedDimensionException constructor.
*
* @param string $message the exception message
* @param int $code the exception code
* @param null|\Throwable $previous the previous exception
*/
#[Pure]
public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null)
{
if (empty($message)) {
$message = 'MySQL does not support Z nor M dimensions yet.';
}

parent::__construct($message, $code, $previous);
}
}

0 comments on commit ccb55a5

Please sign in to comment.