public class DirectAccessException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private boolean |
expected
Flag indicating that exception was expected.
|
| Constructor and Description |
|---|
DirectAccessException(java.lang.String msg)
Basic constructor
|
DirectAccessException(java.lang.String msg,
boolean expected)
Basic constructor
|
DirectAccessException(java.lang.String msg,
java.lang.Exception cause)
Basic constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpected()
Queries the expected flag.
|
public DirectAccessException(java.lang.String msg)
msg - Exception message.public DirectAccessException(java.lang.String msg,
boolean expected)
msg - Exception message.expected - Flag indicating that exception was expected.public DirectAccessException(java.lang.String msg,
java.lang.Exception cause)
msg - Exception message.cause - Exception cause.