Serializablepublic class EnforcerRuleException extends Exception
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
longMessage |
The long message.
|
protected Object |
source |
The source.
|
| Constructor | Description |
|---|---|
EnforcerRuleException(Object source,
String shortMessage,
String longMessage) |
Construct a new
EnforcerRuleException exception providing
the source and a short and long message. |
EnforcerRuleException(String message) |
Construct a new
EnforcerRuleException exception providing
a message. |
EnforcerRuleException(String message,
Exception cause) |
Construct a new
EnforcerRuleException exception wrapping
an underlying Exception and providing a
message. |
EnforcerRuleException(String message,
Throwable cause) |
Construct a new
EnforcerRuleException exception wrapping
an underlying Throwable and providing a
message. |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getLongMessage() |
Gets the long message.
|
Object |
getSource() |
Gets the source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected Object source
protected String longMessage
public EnforcerRuleException(Object source, String shortMessage, String longMessage)
EnforcerRuleException exception providing
the source and a short and long message.source - the sourceshortMessage - the short messagelongMessage - the long messagepublic EnforcerRuleException(String message, Exception cause)
EnforcerRuleException exception wrapping
an underlying Exception and providing a
message.message - the messagecause - the causepublic EnforcerRuleException(String message, Throwable cause)
EnforcerRuleException exception wrapping
an underlying Throwable and providing a
message.message - the messagecause - the causepublic EnforcerRuleException(String message)
EnforcerRuleException exception providing
a message.message - the messageCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.