|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.redhat.rhn.common.RhnRuntimeException
com.redhat.rhn.common.security.PermissionException
public class PermissionException
A RuntimeException indicating that the user has attempted something he or she does not have permissions for.
| Constructor Summary | |
|---|---|
PermissionException(Role role)
Constructor |
|
PermissionException(java.lang.String message)
Constructor |
|
PermissionException(java.lang.String message,
java.lang.Throwable cause)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedSummary()
|
java.lang.String |
getLocalizedTitle()
|
void |
setLocalizedSummary(java.lang.String localizedSummaryIn)
|
void |
setLocalizedTitle(java.lang.String localizedTitleIn)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionException(java.lang.String message)
message - exception message
public 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)| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||