pt.digitalis.dif.exception.objects
Class ParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pt.digitalis.dif.exception.DIFException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParameterException
public ParameterException(String reason,
IParameter<?> parameter)
- Constructor
- Parameters:
reason
- the reason for the exceptionparameter
- the parameter that generated the exception
ParameterException
public ParameterException(String reason,
Exception exception,
IParameter<?> parameter)
- Constructor
- Parameters:
reason
- the reason for the exceptionexception
- the exception thrownparameter
- the parameter that generated the exception
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.