Package jadex.bridge
Class ComponentCreationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- jadex.bridge.ComponentCreationException
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ComponentCreationException extends java.lang.RuntimeExceptionThrown when component creation failed.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectinfoThe optional info.protected java.lang.StringreasonThe reason.static java.lang.StringREASON_COMPONENT_EXISTSConstant that indicates that the component already exists.static java.lang.StringREASON_MODEL_ERRORConstant that indicates that a model has occurred.static java.lang.StringREASON_NO_COMPONENT_FACTORYConstant that indicates that no component factory has been found.static java.lang.StringREASON_WRONG_IDConstant that indicates that component has a wrong/errorneous id. 
- 
Constructor Summary
Constructors Constructor Description ComponentCreationException(java.lang.String message, java.lang.String reason)Create an component termination exception.ComponentCreationException(java.lang.String message, java.lang.String reason, java.lang.Object info)Create an component termination exception. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetInfo()Get the info.java.lang.StringgetReason()Get the reason.voidsetInfo(java.lang.Object info)Set the info.voidsetReason(java.lang.String reason)Set the reason. 
 - 
 
- 
- 
Field Detail
- 
REASON_COMPONENT_EXISTS
public static final java.lang.String REASON_COMPONENT_EXISTS
Constant that indicates that the component already exists.- See Also:
 - Constant Field Values
 
 
- 
REASON_WRONG_ID
public static final java.lang.String REASON_WRONG_ID
Constant that indicates that component has a wrong/errorneous id.- See Also:
 - Constant Field Values
 
 
- 
REASON_MODEL_ERROR
public static final java.lang.String REASON_MODEL_ERROR
Constant that indicates that a model has occurred.- See Also:
 - Constant Field Values
 
 
- 
REASON_NO_COMPONENT_FACTORY
public static final java.lang.String REASON_NO_COMPONENT_FACTORY
Constant that indicates that no component factory has been found.- See Also:
 - Constant Field Values
 
 
- 
reason
protected java.lang.String reason
The reason. 
- 
info
protected java.lang.Object info
The optional info. 
 - 
 
- 
Constructor Detail
- 
ComponentCreationException
public ComponentCreationException(java.lang.String message, java.lang.String reason)Create an component termination exception. 
- 
ComponentCreationException
public ComponentCreationException(java.lang.String message, java.lang.String reason, java.lang.Object info)Create an component termination exception. 
 - 
 
- 
Method Detail
- 
getReason
public java.lang.String getReason()
Get the reason.- Returns:
 - The reason.
 
 
- 
setReason
public void setReason(java.lang.String reason)
Set the reason.- Parameters:
 reason- The reason to set.
 
- 
getInfo
public java.lang.Object getInfo()
Get the info.- Returns:
 - the info.
 
 
- 
setInfo
public void setInfo(java.lang.Object info)
Set the info.- Parameters:
 info- The info to set.
 
 - 
 
 -