public class HGRemoveRefusedException extends HGException
Constructor and Description |
---|
HGRemoveRefusedException()
Default constructor.
|
HGRemoveRefusedException(HGHandle atom,
Object reason) |
Modifier and Type | Method and Description |
---|---|
HGHandle |
getAtom()
Return the proposed atom whose addition failed.
|
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(Object reason)
Set the reason for the failure (a string or anything else an application
can make use of).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HGRemoveRefusedException()
Default constructor. Normally used only for serialization/de-serialization purposes.
Call setAtom
and setReason
subsequently.
public HGHandle getAtom()
public void setAtom(HGHandle atom)
atom
- public Object getReason()
public void setReason(Object reason)
reason
- Copyright © 2015. All rights reserved.