com.jdroid.java.exception
Class AbstractException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jdroid.java.exception.AbstractException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ErrorCodeException, InvalidArgumentException, MailException, UnexpectedException

public abstract class AbstractException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
AbstractException()
          Constructor
AbstractException(String message)
           
AbstractException(String message, Throwable cause)
           
AbstractException(Throwable cause)
           
 
Method Summary
 void addParameter(String key, Object value)
           
<E> E
getParameter(String key)
           
 Map<String,Object> getParameters()
           
 Boolean hasParameter(String key)
           
 
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

AbstractException

public AbstractException()
Constructor


AbstractException

public AbstractException(String message,
                         Throwable cause)
Parameters:
message -
cause -

AbstractException

public AbstractException(String message)
Parameters:
message -

AbstractException

public AbstractException(Throwable cause)
Parameters:
cause -
Method Detail

getParameters

public Map<String,Object> getParameters()

hasParameter

public Boolean hasParameter(String key)

getParameter

public <E> E getParameter(String key)

addParameter

public void addParameter(String key,
                         Object value)


Copyright © 2014. All rights reserved.