public class MasterDetailException extends RuntimeException
Constructor and Description |
---|
MasterDetailException(Object master,
Object detail)
Initializes a new
MasterDetailException . |
MasterDetailException(Object master,
Object detail,
String message)
Initializes a new
MasterDetailException . |
MasterDetailException(Object master,
Object detail,
String message,
Throwable cause)
Initializes a new
MasterDetailException . |
MasterDetailException(Object master,
Object detail,
Throwable cause)
Initializes a new
MasterDetailException . |
Modifier and Type | Method and Description |
---|---|
Object |
getDetail()
Returns the affected detail, e.g.
|
Object |
getMaster()
Returns the affected master, e.g.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MasterDetailException(Object master, Object detail)
MasterDetailException
.master
- the affected masterdetail
- the affected detailpublic MasterDetailException(Object master, Object detail, String message, Throwable cause)
MasterDetailException
.master
- the affected masterdetail
- the affected detailmessage
- the message of the exception.cause
- the Throwable
that caused this exception.public MasterDetailException(Object master, Object detail, String message)
MasterDetailException
.master
- the affected masterdetail
- the affected detailmessage
- the message of the exception.public MasterDetailException(Object master, Object detail, Throwable cause)
MasterDetailException
.master
- the affected masterdetail
- the affected detailcause
- the Throwable
that caused this exception.public Object getMaster()
MasterDetailComponent
or a
VirtualTable
.public Object getDetail()
Copyright © 2003–2022 XDEV Software. All rights reserved.