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
Exception related to invalid
MRelationType
configuration.- Author:
- Tobias Schoeneberg, www.metas.de - FR [ 2897194 ] Advanced Zoom and RelationTypes
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
throwMissingWindowId
(PO po, String referenceName, String tableName, boolean isSOTrx) throw missing AD_Window_ID exceptionstatic void
Throw wrong number of key column count exceptionMethods 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 Details
-
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:
-
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:
-
adMsg
-
msgParams
-
-
Method Details
-
throwWrongKeyColumnCount
Throw wrong number of key column count exception- Parameters:
po
-
-
throwMissingWindowId
public static void throwMissingWindowId(PO po, String referenceName, String tableName, boolean isSOTrx) throw missing AD_Window_ID exception- Parameters:
po
-referenceName
-tableName
-isSOTrx
-
-