Package org.adempiere.exceptions
Class AdempiereException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.adempiere.exceptions.AdempiereException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArhRuntimeException,AverageCostingNegativeQtyException,AverageCostingZeroQtyException,BackDateTrxNotAllowedException,BPartnerException,CrossTenantException,DBException,DocTypeNotFoundException,FillMandatoryException,InvoiceFullyMatchedException,NegativeInventoryDisallowedException,NoUOMConversionException,NoVendorForProductException,PeriodClosedException,PORelationException,ProductNotOnPriceListException,TaxCriteriaNotFoundException,TaxForChangeNotFoundException,TaxNoExemptFoundException,TaxNotFoundException,WarehouseInvalidForOrgException,WarehouseLocatorConflictException
Runtime exception that occurs inside iDempiere core
- Author:
- Teo Sarca, SC ARHIPAC SERVICE SRL
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor (saved logger error will be used as message)AdempiereException(String message) AdempiereException(String message, Throwable cause) AdempiereException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AdempiereException
public AdempiereException()Default Constructor (saved logger error will be used as message) -
AdempiereException
- Parameters:
message-
-
AdempiereException
- Parameters:
cause-
-
AdempiereException
- Parameters:
message-cause-
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable
-
getCtx
Get environment context- Returns:
- context
-