pt.digitalis.dif.exception.objects
Class ParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pt.digitalis.dif.exception.DIFException
              extended by pt.digitalis.dif.exception.objects.ParameterException
All Implemented Interfaces:
Serializable, IContextException

public class ParameterException
extends DIFException

Exception for IParameter operations

Author:
Pedro Viegas pviegas@digitalis.pt
See Also:
Serialized Form

Constructor Summary
ParameterException(String reason, Exception exception, IParameter<?> parameter)
          Constructor
ParameterException(String reason, IParameter<?> parameter)
          Constructor
 
Method Summary
 void setContext(IDIFContext context)
           
 void setParameter(IParameter<?> parameter)
           
 void setStage(IStage stage)
           
 
Methods inherited from class pt.digitalis.dif.exception.DIFException
addToExceptionContext, getExceptionContext, getRenderedExceptionContext, setExceptionContext
 
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

ParameterException

public ParameterException(String reason,
                          IParameter<?> parameter)
Constructor

Parameters:
reason - the reason for the exception
parameter - the parameter that generated the exception

ParameterException

public ParameterException(String reason,
                          Exception exception,
                          IParameter<?> parameter)
Constructor

Parameters:
reason - the reason for the exception
exception - the exception thrown
parameter - the parameter that generated the exception
Method Detail

setParameter

public void setParameter(IParameter<?> parameter)
Parameters:
parameter - the parameter to set

setStage

public void setStage(IStage stage)
Parameters:
stage - the stage to set

setContext

public void setContext(IDIFContext context)
Parameters:
context - the stage to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.