Skip to main content
Skip table of contents

isErrorType

Versionshinweise

21.2

Code

boolean ScriptUtils.isErrorType(ScriptingException exception)

Beschreibung

Gibt zurück, ob es sich bei der Exception um einen Error handelt.

Parameter

  • exception - Die ScriptingException, die geprüft werden soll.

Rückgabe

true, wenn der Fehler Typ ein Error ist, sonst false .

Beispiele

try
{
  throw new ScriptingException("Test");
}
catch(ScriptingException e)
{
  boolean isError = ScriptUtils.isErrorType(e);
  ...
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.