UnsupportedTranslationMethodException
class UnsupportedTranslationMethodException extends Exception (View source)
An "Unsupported Translation Method" exception
This exception can be thrown by a concrete class implementing \Neos\Flow\I18n\TranslationProvider\TranslationProviderInterface when one of the interface methods is not supported (eg. when storage method makes it impossible).
Properties
protected string | $referenceCode | from Exception | |
protected int | $statusCode | from Exception |
Methods
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
Returns the HTTP status code this exception corresponds to (defaults to 500).
Details
string
getReferenceCode()
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
int
getStatusCode()
Returns the HTTP status code this exception corresponds to (defaults to 500).