Exceptions
All exceptions in the Ramsey\Uuid
namespace implement
Ramsey\Uuid\Exception\UuidExceptionInterface
. This provides
a base type you may use to catch any and all exceptions that originate from this
library.
- interface Ramsey\Uuid\Exception\UuidExceptionInterface
This is the interface all exceptions in ramsey/uuid must implement.
- exception Ramsey\Uuid\Exception\BuilderNotFoundException
Extends RuntimeException.
Thrown to indicate that no suitable UUID builder could be found.
- exception Ramsey\Uuid\Exception\DateTimeException
Extends RuntimeException.
Thrown to indicate that the PHP DateTime extension encountered an exception or error.
- exception Ramsey\Uuid\Exception\DceSecurityException
Extends RuntimeException.
Thrown to indicate an exception occurred while dealing with DCE Security (version 2) UUIDs
- exception Ramsey\Uuid\Exception\InvalidArgumentException
Extends InvalidArgumentException.
Thrown to indicate that the argument received is not valid.
- exception Ramsey\Uuid\Exception\InvalidBytesException
Extends RuntimeException.
Thrown to indicate that the bytes being operated on are invalid in some way.
- exception Ramsey\Uuid\Exception\InvalidUuidStringException
Extends
Ramsey\Uuid\Exception\InvalidArgumentException
.Thrown to indicate that the string received is not a valid UUID.
- exception Ramsey\Uuid\Exception\NameException
Extends RuntimeException.
Thrown to indicate that an error occurred while attempting to hash a namespace and name
- exception Ramsey\Uuid\Exception\NodeException
Extends RuntimeException.
Thrown to indicate that attempting to fetch or create a node ID encountered an error.
- exception Ramsey\Uuid\Exception\RandomSourceException
Extends RuntimeException.
Thrown to indicate that the source of random data encountered an error.
- exception Ramsey\Uuid\Exception\TimeSourceException
Extends RuntimeException.
Thrown to indicate that the source of time encountered an error.
- exception Ramsey\Uuid\Exception\UnableToBuildUuidException
Extends RuntimeException.
Thrown to indicate a builder is unable to build a UUID.
- exception Ramsey\Uuid\Exception\UnsupportedOperationException
Extends LogicException.
Thrown to indicate that the requested operation is not supported.