public class HGRemoveRefusedException extends HGException
Constructor and Description |
---|
HGRemoveRefusedException()
Default constructor.
|
HGRemoveRefusedException(HGHandle atom,
java.lang.Object reason) |
Modifier and Type | Method and Description |
---|---|
HGHandle |
getAtom()
Return the proposed atom whose addition failed.
|
java.lang.Object |
getReason()
Return the reason of the failure - could be a string or a more complex
object interpreted by the application at hand.
|
void |
setAtom(HGHandle atom)
Set the proposed atom whose addition failed.
|
void |
setReason(java.lang.Object reason)
Set the reason for the failure (a string or anything else an application
can make use of).
|
public HGRemoveRefusedException()
Default constructor. Normally used only for serialization/de-serialization purposes.
Call setAtom
and setReason
subsequently.
public HGRemoveRefusedException(HGHandle atom, java.lang.Object reason)
atom
- reason
- public HGHandle getAtom()
public void setAtom(HGHandle atom)
atom
- public java.lang.Object getReason()
public void setReason(java.lang.Object reason)
reason
-