Package org.adempiere.exceptions
Class PORelationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.adempiere.exceptions.AdempiereException
 - 
- org.adempiere.exceptions.PORelationException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class PORelationException extends AdempiereException
- Author:
 - Tobias Schoeneberg, www.metas.de - FR [ 2897194 ] Advanced Zoom and RelationTypes
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description StringadMsgstatic StringMSG_ERR_KEY_COLUMNS_2PMessage indicates that a po has more or less than one key columns.static StringMSG_ERR_WINDOW_3PMessage indicates that neither the reference nor the table have an AD_Window_ID set.Object[]msgParams 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidthrowMissingWindowId(PO po, String referenceName, String tableName, boolean isSOTrx)static voidthrowWrongKeyColumnCount(PO po)- 
Methods inherited from class org.adempiere.exceptions.AdempiereException
getCtx, getLocalizedMessage 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
MSG_ERR_KEY_COLUMNS_2P
public static final String MSG_ERR_KEY_COLUMNS_2P
Message indicates that a po has more or less than one key columns.- Param 1: the po (toString)
 - Param 2: the number of key columns
 
- See Also:
 - Constant Field Values
 
 
- 
MSG_ERR_WINDOW_3P
public static final String MSG_ERR_WINDOW_3P
Message indicates that neither the reference nor the table have an AD_Window_ID set.- Param 1: The AD_Reference's name
 - Param 2: The Table name
 - Param 3: Whether we are in the ctx of a SO (Y or N)
 
- See Also:
 - Constant Field Values
 
 
- 
adMsg
public final String adMsg
 
- 
msgParams
public final Object[] msgParams
 
 - 
 
 -