Package com.groiss.util
Interface TopLevelException
- All Known Implementing Classes:
ApplicationException
public interface TopLevelException
Interface for exceptions where the message is directly presented to the user interface.
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the error number.Deprecated, for removal: This API element is subject to removal in a future version.use getCause()getLevel()
Return the log level of this exception.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setWarning
(boolean warning) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getException
Deprecated, for removal: This API element is subject to removal in a future version.use getCause()Returns an inner exception, null if there is none. -
getLevel
ApplicationException.Level getLevel()Return the log level of this exception. -
setWarning
Deprecated, for removal: This API element is subject to removal in a future version.Set the exception as warning. -
isWarning
Deprecated, for removal: This API element is subject to removal in a future version. -
getErrnum
int getErrnum()Return the error number.
-