|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.impl.PersistenceErrorImpl
public class PersistenceErrorImpl
PersistenceErrorImpl
TODO DOCUMENT ME
Field Summary |
---|
Fields inherited from interface org.palo.api.persistence.PersistenceError |
---|
ALL_ERROR_TYPES, LOADING_FAILED, TARGET_EXPANDED_PATH, TARGET_GENERAL, TARGET_HIDDEN_PATH, TARGET_SELECTED, TARGET_SUBSET, TARGET_UNKNOWN, UNKNOWN_AXIS, UNKNOWN_CUBE_VIEW, UNKNOWN_DIMENSION, UNKNOWN_ELEMENT, UNKNOWN_ERROR, UNKNOWN_PATH, UNKNOWN_SUBSET |
Constructor Summary | |
---|---|
PersistenceErrorImpl(java.lang.String msg,
java.lang.String srcId,
java.lang.Object src,
java.lang.Object location,
java.lang.String cause,
int type,
java.lang.Object section,
int sectionType)
|
Method Summary | |
---|---|
java.lang.String |
getCause()
Returns the cause of this error depending on the type of error. |
java.lang.Object |
getLocation()
Returns the location where this error was initiated, e.g. if a dimension could not be found this will return its containing database |
java.lang.String |
getMessage()
Returns the error message |
java.lang.Object |
getSection()
Returns the section where the error occurs, e.g. if the error source is a the section could be an
. |
java.lang.Object |
getSource()
Returns the source which causes this error, e.g. a or a
If no source was determined null is returned |
java.lang.String |
getSourceId()
Returns the id of the source which causes this error, e.g. the id of a . |
int |
getTargetType()
Returns one of the defined target constants which describes the target at which the error occurred, e.g. if the error is of type UNKNOWN_ELEMENT the target type could be a TARGET_EXPANDED_PATH meaning that the unknown element was detected at an expanded path. |
int |
getType()
Returns one of the defined error constants to describe the kind of error |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceErrorImpl(java.lang.String msg, java.lang.String srcId, java.lang.Object src, java.lang.Object location, java.lang.String cause, int type, java.lang.Object section, int sectionType)
Method Detail |
---|
public final java.lang.String getSourceId()
PersistenceError
CubeView
. Note that if getSource()
returns null
that does not automatically mean that this
method returns null
too!
getSourceId
in interface PersistenceError
null
public final java.lang.String getCause()
PersistenceError
getCause
in interface PersistenceError
null
if it could not be
determinedpublic final java.lang.Object getLocation()
PersistenceError
getLocation
in interface PersistenceError
null
if
none could be determinedpublic final java.lang.String getMessage()
PersistenceError
getMessage
in interface PersistenceError
public final int getType()
PersistenceError
getType
in interface PersistenceError
public final java.lang.Object getSource()
PersistenceError
CubeView
or a Subset
If no source was determined null
is returned
getSource
in interface PersistenceError
null
public final java.lang.Object getSection()
PersistenceError
CubeView
the section could be an
Axis
. If no section could be determined
null
is returned.
getSection
in interface PersistenceError
null
public int getTargetType()
PersistenceError
getTargetType
in interface PersistenceError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |