de.smartics.properties.api.core.context.alias
Class AliasException

Package class diagram package AliasException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
AliasException(String message, Throwable cause, String alias)
          Default constructor.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.