r4802 SLBTriplet::getTriplets(): justify exception class
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 23 Sep 2011 16:55:04 +0000 (16:55 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 23 Sep 2011 16:55:04 +0000 (16:55 +0000)
wwwroot/inc/slb.php

index 0986c6a..f269cd8 100644 (file)
@@ -58,7 +58,7 @@ class SLBTriplet
                                $display_cells = array('vs', 'lb');
                                break;
                        default:
-                               throw new RackTablesError ("Invalid cell realm");
+                               throw new InvalidArgException ('realm', $cell['realm']);
                }
                $result = usePreparedSelectBlade
                (