Package org.compiere.util
Class ArhRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.adempiere.exceptions.AdempiereException
org.compiere.util.ArhRuntimeException
- All Implemented Interfaces:
Serializable
Arhipac Runtime exception
- Author:
- Teo_Sarca, SC ARHIPAC SERVICE SRL
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor (logger error will be used as message)ArhRuntimeException(String message) ConstructorArhRuntimeException(String message, Throwable cause) ArhRuntimeException(Throwable cause) ArhRuntimeException(Properties ctx, String message) Constructor -
Method Summary
Methods inherited from class org.adempiere.exceptions.AdempiereException
getCtxMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ArhRuntimeException
public ArhRuntimeException()Default Constructor (logger error will be used as message) -
ArhRuntimeException
Constructor- Parameters:
message- error message or "" if you don't need a message
-
ArhRuntimeException
Constructor- Parameters:
ctx-message-
-
ArhRuntimeException
- Parameters:
cause-
-
ArhRuntimeException
- Parameters:
message-cause-
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classAdempiereException
-
saveError
Save error -
addInfo
Add additional info for exception- Parameters:
name-value-- Returns:
-
addInfo
Add additional info for exception- Parameters:
name-- Returns:
-
addInfo
Add additional info for exception- Parameters:
name-value-- Returns:
-
addField
Add field info for exception- Parameters:
fieldName-value-- Returns:
-
hasInfo
public boolean hasInfo()Has additional info- Returns:
- true if exception has additional info
-
toString
-