|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sourceforge.sconman.SCMException net.sourceforge.sconman.SCMSecurityException
public class SCMSecurityException
This class represents a security violation
Constructor Summary | |
---|---|
SCMSecurityException(java.lang.String message,
User user)
Constructor for SCMException. |
|
SCMSecurityException(java.lang.String message,
User user,
Permission violatedPermission)
Constructor for SCMException. |
Method Summary | |
---|---|
User |
getUser()
Returns the user that couldn't do the action that generated this exception |
Permission |
getViolatedPermission()
Returns the permission that the user couldn't satisfy |
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 SCMSecurityException(java.lang.String message, User user)
message
- Exception messagepublic SCMSecurityException(java.lang.String message, User user, Permission violatedPermission)
message
- Exception messageMethod Detail |
---|
public Permission getViolatedPermission()
public User getUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |