com.retek.commons.domain.core.exception
Class BusinessProblem
java.lang.Object
com.retek.commons.domain.core.exception.BusinessProblem
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SellingItemExistsProblem, ValidationProblem
- public class BusinessProblem
- extends java.lang.Object
- implements java.io.Serializable
Holds information relating to one business rule error, including source, attribute that caused
the error, and severity.
Retek Inc. Copyright (c) 2003
- See Also:
- Serialized Form
Constructor Summary |
BusinessProblem(java.lang.Object theSource,
java.lang.String theAttributeName,
ErrorSeverity theSeverity,
java.lang.String theMessageBundle,
java.lang.String theMessageKey)
|
BusinessProblem(java.lang.Object theSource,
java.lang.String theAttributeName,
ErrorSeverity theSeverity,
java.lang.String theMessageBundle,
java.lang.String theMessageKey,
java.lang.Object[] theMessageValues)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BusinessProblem
public BusinessProblem(java.lang.Object theSource,
java.lang.String theAttributeName,
ErrorSeverity theSeverity,
java.lang.String theMessageBundle,
java.lang.String theMessageKey)
BusinessProblem
public BusinessProblem(java.lang.Object theSource,
java.lang.String theAttributeName,
ErrorSeverity theSeverity,
java.lang.String theMessageBundle,
java.lang.String theMessageKey,
java.lang.Object[] theMessageValues)
getSourceInterface
public final java.lang.Class getSourceInterface()
- Returns the business interface which
the source object implements.
getSourceId
public final java.lang.String getSourceId()
isSource
public final boolean isSource(BusinessObject businessObject)
isSource
public final boolean isSource(DistributedObject distObj)
getAttributeName
public final java.lang.String getAttributeName()
getSeverity
public final ErrorSeverity getSeverity()
getMessageKey
public java.lang.String getMessageKey()
getMessage
public java.lang.String getMessage()
toString
public java.lang.String toString()
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28