de.smartics.properties.api.core.context.alias
Class AliasException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.smartics.properties.api.core.context.alias.AliasException
-
All Implemented Interfaces:
-
Serializable
-
Direct Known Subclasses:
-
DuplicateAliasException,
UnknownAliasException
-
public abstract class AliasException
-
extends
RuntimeException
Signals problems with an alias.
-
See Also:
-
Serialized Form
Method Summary |
String |
getAlias() Returns the alias that signals a problem. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AliasException
public AliasException(String message,
Throwable cause,
String alias)
-
Default constructor.
-
Parameters:
-
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
-
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.
getAlias
public final String getAlias()
-
Returns the alias that signals a problem.
-
-
Returns:
-
the alias that signals a problem.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.