|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ponder2.objects.P2Object
net.ponder2.objects.P2Error
public class P2Error
Object containing error details created when an error is thrown in the code. Attributes include an error message and the PonderTalk source file name, line number and character number.
This is the argument received by the block onError: message.
Constructor Summary | |
---|---|
protected |
P2Error(Ponder2Exception exception)
constructor for Ponder2 serialisation |
Method Summary | |
---|---|
protected java.lang.String |
character()
returns the source character number |
protected java.lang.String |
line()
returns the source line number |
protected java.lang.String |
message()
returns the error message |
P2Object |
readXml(com.twicom.qdparser.TaggedElement xml,
java.util.Map<java.lang.Integer,P2Serializable> read)
|
protected java.lang.String |
source()
Returns the source file name |
java.lang.String |
toString()
|
com.twicom.qdparser.TaggedElement |
writeXml(java.util.Set<P2Object> written)
|
Methods inherited from class net.ponder2.objects.P2Object |
---|
asArray, asBlock, asBoolean, asClass, asDouble, asFloat, asHash, asInteger, asLong, asNumber, asP2Array, asString, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, fromXml, getManagedObject, getOID, getSMC, operation, operation, setSMC |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected P2Error(Ponder2Exception exception)
Method Detail |
---|
protected java.lang.String source()
protected java.lang.String line()
protected java.lang.String character()
protected java.lang.String message()
public com.twicom.qdparser.TaggedElement writeXml(java.util.Set<P2Object> written) throws Ponder2OperationException
writeXml
in interface P2Serializable
writeXml
in class P2Object
Ponder2OperationException
public P2Object readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read) throws Ponder2OperationException
readXml
in interface P2Serializable
readXml
in class P2Object
Ponder2OperationException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |