|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException de.smartics.properties.api.core.context.alias.AliasException de.smartics.properties.api.core.context.alias.DuplicateAliasException
public final class DuplicateAliasException
Signals that an alias points to two different physical resources.
Constructor Summary | |
---|---|
DuplicateAliasException(String alias, String oldTarget, String newTarget) Convenience constructor without a cause. |
|
DuplicateAliasException(Throwable cause, String alias, String oldTarget, String newTarget) Default constructor. |
Method Summary | |
---|---|
String |
getNewTarget() Returns the new target value that differs from the previously stored. |
String |
getOldTarget() Returns the target value stored with the alias. |
Methods inherited from class de.smartics.properties.api.core.context.alias.AliasException |
---|
getAlias |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DuplicateAliasException(String alias, String oldTarget, String newTarget)
alias
- the alias that signals a problem.
oldTarget
- the target value stored with the alias.
newTarget
- the new target value that differs from the previously stored.
public DuplicateAliasException(Throwable cause, String alias, String oldTarget, String newTarget)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
alias
- the alias that signals a problem.
oldTarget
- the target value stored with the alias.
newTarget
- the new target value that differs from the previously stored.
Method Detail |
---|
public String getOldTarget()
public String getNewTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |