Advertisement
fruffl

Untitled

Sep 16th, 2011
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.73 KB | None | 0 0
  1. try
  2. {
  3.         $guid = new Guid('1231212311231233211233212312345');
  4.         var_dump($guid);
  5. }
  6. catch(SystemException $e)
  7. {
  8.     print $e;
  9. }
  10.  
  11. /*
  12. Exception    ObjectHandlerException
  13. Error        0x00010601
  14. Level        3
  15. Message      Can not create object.
  16. Mem          1.264892578125
  17. Thrown in
  18.     Line     00001293
  19.     File     ../types.php
  20.  
  21. Exception    DatatypeExpectedException
  22. Error        0x00030412
  23. Level        2
  24. Message      Guid expected.
  25. Mem          1.264892578125
  26. Thrown in
  27.     Line     00001268
  28.     File     ../types.php
  29.  
  30. Exception    ArgumentExpectedException
  31. Error        0x00020403
  32. Level        1
  33. Message      String is to short.
  34. Mem          1.264892578125
  35. Thrown in
  36.     Line     00001256
  37.     File     ../types.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement