Class BORuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
de.hybris.platform.sap.core.bol.businessobject.BORuntimeException
- All Implemented Interfaces:
MessageListHolder,Serializable
- Direct Known Subclasses:
BackendDeterminationRuntimeException,CommunicationRuntimeException
The
Don't catch this Exception except in the action layer because it represents an error in the implementation and not the underlying backend system.
BORuntimeException is the base class for bo related runtime exceptions. Don't catch this Exception except in the action layer because it represents an error in the implementation and not the underlying backend system.
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
messageListFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception without any message.BORuntimeException(String msg) Creates a new exception with a given message.BORuntimeException(String msg, Throwable rootCause) Standard constructor for BORuntimeException using a simple message text. -
Method Summary
Methods inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
addMessage, clearMessages, getMessageListMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BORuntimeException
public BORuntimeException()Creates a new exception without any message. -
BORuntimeException
Creates a new exception with a given message.- Parameters:
msg- Message to give further information about the exception
-
BORuntimeException
Standard constructor for BORuntimeException using a simple message text.- Parameters:
msg- message text.rootCause- exception which causes the exception
-