|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.AbstractMessageBean de.smartics.properties.api.core.app.AbstractBaseMessageBean de.smartics.properties.resource.util.TypeProblemMessageBean
public final class TypeProblemMessageBean
Provides context information for errors regarding a type.
Nested Class Summary | |
---|---|
static class |
TypeProblemMessageBean.Builder Creates instances of TypeProblemMessageBean . |
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
TypeProblemMessageBean(Class<?> type) Convenience constructor without root cause. |
|
TypeProblemMessageBean(Throwable cause, Class<?> type) Default constructor. |
Method Summary | |
---|---|
int |
getDuplicateCount() Returns the count of duplicates. |
String |
getDuplicates() Returns the list of duplicates implementations of the same type. |
int |
getErrorCount() Returns the count of errors. |
String |
getErrors() Returns the list of errors encountered while trying to instantiate a service type. |
String |
toString() |
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeProblemMessageBean(Class<?> type)
type
- the type that is the cause of the problem.
public TypeProblemMessageBean(Throwable cause, Class<?> type)
cause
- the cause to the problem.
type
- the type that is the cause of the problem.
Method Detail |
---|
@MessageParam(value="duplicates") public String getDuplicates()
@MessageParam(value="duplicateCount") public int getDuplicateCount()
@MessageParam(value="errors") public String getErrors()
@MessageParam(value="errorCount") public int getErrorCount()
public String toString()
toString
in class
de.smartics.exceptions.i18n.AbstractMessageBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |