sqlg2.db
Class InformationException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
sqlg2.db.InformationException
- All Implemented Interfaces: 
 - java.io.Serializable
 
public abstract class InformationException
- extends java.lang.Exception
 
This is "informational" exception.
 If a business method raises exception of this type, and
 isError() == false then runtime system does not roll back
 transaction - call is finished successfully, but exception is rethrown.
 That way you can pass information about exceptional situation
 without losing DB changes. Default value of isError() == true.
- See Also:
 - Serialized Form
 
 
| 
Method Summary | 
 boolean | 
isError()
 
          Defaults to true. | 
 void | 
setError(boolean error)
 
            | 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
InformationException
protected InformationException()
InformationException
protected InformationException(java.lang.String s)
isError
public boolean isError()
- Defaults to true.
 
 
setError
public void setError(boolean error)