public class EnforcerRuleException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected String |
longMessage
The long message.
|
protected Object |
source
The source.
|
| Constructor and 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 and Description |
|---|---|
String |
getLongMessage()
Gets the long message.
|
Object |
getSource()
Gets the source.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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-2015 The Apache Software Foundation. All Rights Reserved.