public class PermissionException extends RhnRuntimeException
Constructor and Description |
---|
PermissionException(Role role)
Constructor
|
PermissionException(java.lang.String message)
Constructor
|
PermissionException(java.lang.String message,
java.lang.Throwable cause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedSummary() |
java.lang.String |
getLocalizedTitle() |
void |
setLocalizedSummary(java.lang.String localizedSummaryIn) |
void |
setLocalizedTitle(java.lang.String localizedTitleIn) |
public PermissionException(java.lang.String message)
message
- exception messagepublic PermissionException(java.lang.String message, java.lang.Throwable cause)
message
- exception messagecause
- the cause (which is saved for later retrieval
by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public PermissionException(Role role)
role
- Cause for the exception (bad role)public java.lang.String getLocalizedSummary()
public void setLocalizedSummary(java.lang.String localizedSummaryIn)
localizedSummaryIn
- The localizedSummary to set.public java.lang.String getLocalizedTitle()
public void setLocalizedTitle(java.lang.String localizedTitleIn)
localizedTitleIn
- The localizedTitle to set.