public class InvalidConfigurationException extends Exception
InvalidConfigurationException
is a checked exception thrown by the platform whenever something goes
wrong during Application
-execution.Application
could not be found
Resource
could not be found
Resource
, e.g. an invalid XML-file was found
Constructor and Description |
---|
InvalidConfigurationException(Site site,
String applicationName,
String message)
Create a new
InvalidConfigurationException . |
InvalidConfigurationException(String applicationName,
String message)
Create a new
InvalidConfigurationException . |
InvalidConfigurationException(String applicationName,
String message,
Throwable cause)
Create a new
InvalidConfigurationException . |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName()
Returns the name of the
Application where the error occurred, if present. |
Site |
getSite()
Returns the
Site where the error occurred, if present. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidConfigurationException(Site site, String applicationName, String message)
InvalidConfigurationException
.site
- the Site
where the error occurredapplicationName
- the name of the Application
where the error occurredmessage
- the error messagepublic InvalidConfigurationException(String applicationName, String message)
InvalidConfigurationException
.applicationName
- the name of the Application
where the error occurredmessage
- the error messagepublic InvalidConfigurationException(String applicationName, String message, Throwable cause)
InvalidConfigurationException
.applicationName
- the name of the Application
where the error occurredmessage
- the error messagecause
- the cause of the InvalidConfigurationException
public Site getSite()
Site
where the error occurred, if present.Site
public String getApplicationName()
Application
where the error occurred, if present.Application
Copyright © 2011–2019 aiticon GmbH. All rights reserved.