October\Rain\Halcyon\Exception\InvalidExtensionException

Extends:

  • RuntimeException
  • Exception

Implements:

  • Throwable

InvalidExtensionException

Protected properties

protected string $invalidExtension

invalidExtension

protected array $allowedExtensions

allowedExtensions

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 void getAllowedExtensions()

getAllowedExtensions gets the list of allowed extensions

public void getInvalidExtension()

getInvalidExtension gets the affected file extension

public void setAllowedExtensions($allowedExtensions)

setAllowedExtensions sets the list of allowed extensions

Parameters
  • $allowedExtensions

public void setInvalidExtension($invalidExtension)

setInvalidExtension sets the affected file extension

Parameters
  • $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.