|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.data.LyError
public class LyError
This class defines an error on an instance of LyObject.
LyObject
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static short |
TYPE_CLASS
Type of error: Error on class |
static short |
TYPE_FIELD
Type of error: Error on field |
Constructor Summary | |
---|---|
LyError(short level,
short type,
java.lang.String message,
java.lang.Object[] args,
LyFieldInfo origin,
LyObject objectCause,
LyInfoList<LyFieldInfo> fieldInfosCause)
Constructs an error. |
|
LyError(short level,
java.lang.String message,
java.lang.Object[] args,
LyFieldInfo origin,
LyObject objectCause,
LyFieldInfo fieldInfoCause)
Constructs an error. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks equality between this error and the given one. |
java.lang.Object[] |
getArgs()
Returns the arguments of the error message. |
LyInfoList<LyFieldInfo> |
getFieldInfosCause()
Return the fieldInfo object of this error. |
java.lang.String |
getId()
Gets error id. |
short |
getLevel()
Returns the level of this error. |
java.lang.String |
getMessage()
Returns the message of this error. |
java.lang.String |
getMessage(LyEnvironment environment)
Gets error message expanded with its arguments for the given environment. |
LyObject |
getObjectCause()
Return the cause object of this error. |
LyFieldInfo |
getOrigin()
Return the origin of this error. |
short |
getSubType()
Returns the sub-type of the error. |
java.lang.Object |
getTransmitter()
Gets transmitter of the error. |
short |
getType()
Returns the type of the error. |
void |
setTransmitter(java.lang.Object transmitter)
Sets transmitter of the error. |
java.lang.String |
toString()
Dumps this object as a string. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static short TYPE_FIELD
public static short TYPE_CLASS
Constructor Detail |
---|
public LyError(short level, java.lang.String message, java.lang.Object[] args, LyFieldInfo origin, LyObject objectCause, LyFieldInfo fieldInfoCause)
level
- Level of the errormessage
- Message associated to this errorargs
- List of args to the messageorigin
- Origin of the error. May be null for a class error.objectCause
- Object part cause of the errorfieldInfoCause
- FieldInfo part cause of the error. May be null if tha cause is global
to the object cause.public LyError(short level, short type, java.lang.String message, java.lang.Object[] args, LyFieldInfo origin, LyObject objectCause, LyInfoList<LyFieldInfo> fieldInfosCause)
level
- Level of the errortype
- Type of the errormessage
- Message associated to this errorargs
- List of args to the messageorigin
- Origin of the error. May be null for a class error.objectCause
- Object part cause of the errorfieldInfosCause
- List of fieldInfos cause of the error.Method Detail |
---|
public java.lang.String getId()
public short getType()
public short getSubType()
public short getLevel()
public java.lang.String getMessage()
public java.lang.Object[] getArgs()
public LyObject getObjectCause()
public LyInfoList<LyFieldInfo> getFieldInfosCause()
public LyFieldInfo getOrigin()
public java.lang.String getMessage(LyEnvironment environment)
environment
- the environment
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getTransmitter()
public void setTransmitter(java.lang.Object transmitter)
transmitter
- the transmiter to use
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |