public class BusinessException
extends java.lang.Exception
If a BusinessException is thrown from a (server) business rule, it is guaranteed that the exception message text is displayed to the nuclos client GUI user.
This class is used to display business process problems triggered by business rule execution to the client user.
Exception
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
BusinessException()
for deserialization only
|
|
BusinessException(java.lang.String pMessage)
Constructor to intiate the new NuclosBusinessException with an error message
|
|
BusinessException(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Constructor to intiate the new NuclosBusinessException with an object of type Throwable
and an error message
|
|
BusinessException(java.lang.Throwable pThrowable)
Constructor to intiate the new NuclosBusinessException with an object of type Throwable
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getMessage(java.lang.Throwable cause)
This method returns the message that is used in the parameter cause of type Throwable
|
protected BusinessException()
public BusinessException(java.lang.String pMessage)
pMessage
- public BusinessException(java.lang.Throwable pThrowable)
pThrowable
- public BusinessException(java.lang.String pMessage, java.lang.Throwable pThrowable)
pThrowable
- Copyright © 2024. All rights reserved.