Skip to content

Commit

Permalink
Add missing Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed May 8, 2018
1 parent cbf5470 commit defdae3
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 40 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
IPUtil.iml
vendor
vendor
composer.phar
30 changes: 30 additions & 0 deletions LibreNMS/Exceptions/InvalidIpException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
/**
* InvalidIpException.php
*
* Exception when parsing strings to IPs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2017 Tony Murray
* @author Tony Murray <[email protected]>
*/

namespace LibreNMS\Exceptions;

class InvalidIpException extends \Exception
{
}
72 changes: 33 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit defdae3

Please sign in to comment.