|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.acsinet_solutions.util.exception.SystemException
com.acsinet_solutions.util.exception.VersionMismatchException
public class VersionMismatchException
Exception that represents a mismatch in version data for a bean
| Constructor Summary | |
|---|---|
VersionMismatchException(long expected,
long found)
Public consructor |
|
VersionMismatchException(long id,
long expected,
long found)
Public consructor |
|
| Method Summary | |
|---|---|
long |
getId()
Get the record id |
| 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 |
| Constructor Detail |
|---|
public VersionMismatchException(long expected,
long found)
expected - The expected version numberfound - The found version number
public VersionMismatchException(long id,
long expected,
long found)
id - The id of the registry where the match was not produced.expected - The expected version numberfound - The found version number| Method Detail |
|---|
public long getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||