October\Rain\Halcyon\Exception\InvalidExtensionException

Source: ~/vendor/october/rain/src/Halcyon/Exception/InvalidExtensionException.php

Extends:

  • RuntimeException
  • Exception

Implements:

  • Throwable

Protected properties

protected string $invalidExtension

Name of the affected file extension.

protected array $allowedExtensions

A list of allowable extensions.

Show inherited protected properties

Inherited protected properties

  • protected $message - defined in Exception.
  • protected $code - defined in Exception.
  • protected $file - defined in Exception.
  • protected $line - defined in Exception.

Public methods

public string getAllowedExtensions()

Get the list of allowed extensions.

public string getInvalidExtension()

Get the affected file extension.

public $this setAllowedExtensions(array $allowedExtensions)

Set the list of allowed extensions.

Parameters
  • array $allowedExtensions

public $this setInvalidExtension(string $invalidExtension)

Set the affected file extension.

Parameters
  • string $invalidExtension

Show inherited public methods

Inherited public methods

  • public void __construct($message=NULL, $code=NULL, $previous=NULL) - defined in Exception.
  • public void __toString() - defined in Exception.
  • public void __wakeup() - defined in Exception.
  • public void getCode() - defined in Exception.
  • public void getFile() - defined in Exception.
  • public void getLine() - defined in Exception.
  • public void getMessage() - defined in Exception.
  • public void getPrevious() - defined in Exception.
  • public void getTrace() - defined in Exception.
  • public void getTraceAsString() - defined in Exception.