Package org.bgerp.app.exception
Class BGException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bgerp.app.exception.BGException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 BGSecurityException,CompilerWrapper.CompilationFailedException,UnsupportedBillingVersion
Unexpected situation, shown to user and written in log.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionBGException(String pattern, Object... args) Constructor with pattern and replacements forLog.format(String, Object...).BGException(String message, Throwable cause) Constructor with message and root cause.BGException(Throwable cause) Constructor with root cause to take message from. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
BGException
public BGException() - 
BGException
Constructor with pattern and replacements forLog.format(String, Object...).- Parameters:
 pattern- message pattern.params- parameters for replacements inpattern.
 - 
BGException
Constructor with root cause to take message from.- Parameters:
 cause- root cause.
 - 
BGException
Constructor with message and root cause.- Parameters:
 message- plain text message.cause- root cause.
 
 - 
 - 
Method Details
- 
throwNew
For calling from scripts.- Parameters:
 message-
 
 -