public abstract class OwRuntimeException extends RuntimeException
Base class for all specialized unchecked Exception in OECM Framework.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwRuntimeException(OwString message_p)
Create a new
OwRuntimeException with a localizable message. |
OwRuntimeException(OwString message_p,
Throwable cause_p)
Create a new
OwRuntimeException with a localizable message and a cause. |
OwRuntimeException(String message_p)
Create a new
OwRuntimeException with a non-localizable message. |
OwRuntimeException(String message_p,
Throwable cause_p)
Create a new
OwRuntimeException with a non-localizable message and a cause. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage(Locale locale_p)
Get the localized message of this
OwRuntimeException . |
abstract String |
getModulName()
Get the name of the module / manager / plugin where the exception occured.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OwRuntimeException(String message_p)
OwRuntimeException
with a non-localizable message.message_p
- the non-localizable messagepublic OwRuntimeException(String message_p, Throwable cause_p)
OwRuntimeException
with a non-localizable message and a cause.message_p
- the non-localizable messagecause_p
- the cause of this Exceptionpublic OwRuntimeException(OwString message_p)
OwRuntimeException
with a localizable message.message_p
- the localizable messagepublic String getMessage(Locale locale_p)
OwRuntimeException
.locale_p
- the Locale to localize this Exception for.public abstract String getModulName()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.