public static function create($name, $message, $view)
    {
        $root = Process::root;
        $name = ucfirst($name);
        $path = $root."app/exceptions/$name.php";
        //

        if (!File::exists($path)) {
            File::put($path, self::set($name, $message, $view));

            return true;
        } else {
            return false;
        }
    }
public static function create($name, $message, $view)
    {
        $root = Process::root;
        $name = ucfirst($name);
        $path = $root."app/exceptions/$name.php";
        //

        if (!File::exists($path)) {
            File::put($path, self::set($name, $message, $view));

            return true;
        } else {
            return false;
        }
    }
public static function create ( $ name , $ message , $ view ) { $ root = Process :: root ; $ name = ucfirst ( $ name ) ; $ path = $ root . "app/exceptions/$name.php" ; // if ( ! File :: exists ( $ path ) ) { File :: put ( $ path , self :: set ( $ name , $ message , $ view ) ) ; return true ; } else { return false ; } }
Create exception.

@param string $name
@param string $message
@param string $view

@return bool
Create exception .