X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Futils%2Farrays%2Fclass_ArrayUtils.php;fp=framework%2Fmain%2Fclasses%2Futils%2Farrays%2Fclass_ArrayUtils.php;h=884a29f3c50cb1a1e09e0d409295e38f5c3a67ad;hb=50a5a61a62855fb59a50feb0070205c8cb45dfb8;hp=48b0c581462f40b5c257dc9453bc05074ae219a3;hpb=02f84ee056b0183431ca8c922010da971d50422e;p=core.git diff --git a/framework/main/classes/utils/arrays/class_ArrayUtils.php b/framework/main/classes/utils/arrays/class_ArrayUtils.php index 48b0c581..884a29f3 100644 --- a/framework/main/classes/utils/arrays/class_ArrayUtils.php +++ b/framework/main/classes/utils/arrays/class_ArrayUtils.php @@ -76,7 +76,7 @@ final class ArrayUtils extends BaseFrameworkSystem { //* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('ARRAY-UTILS: sourceIndex=%d,targetName=%s', $sourceIndex, $targetName)); if (!array_key_exists($sourceIndex, $numericArray)) { // Should always be there! - throw new OutOfBoundsException(sprintf('numericArray[%d] does not exist.', $sourceIndex)); + throw new OutOfBoundsException(sprintf('numericArray[%d] does not exist.', $sourceIndex), FrameworkInterface::EXCEPTION_OUT_OF_BOUNDS); } // "Map" (copy) it to new array