Révision 1876
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1876) | ||
---|---|---|
219 | 219 |
*/ |
220 | 220 |
public TXMResult(String parametersNodePath, TXMResult parent) { |
221 | 221 |
if (parent == this) { |
222 |
throw new IllegalArgumentException("A result can not be the parent of itself."); //$NON-NLS-1$
|
|
222 |
throw new IllegalArgumentException("A result can not be parent of itself."); //$NON-NLS-1$ |
|
223 | 223 |
} |
224 | 224 |
if (parent != null) { |
225 | 225 |
parent.addChild(this); |
Formats disponibles : Unified diff