public class SwitchUserNotAllowedException extends AuthorizationException
Constructor and Description |
---|
SwitchUserNotAllowedException(Long orginalUserId,
Long targetUserId,
String message)
Constructs a new instance of SwitchUserNotAllowedException
|
SwitchUserNotAllowedException(Long orginalUserId,
Long targetUserId,
String message,
Throwable throwable)
Constructs a new instance of SwitchUserNotAllowedException
|
Modifier and Type | Method and Description |
---|---|
Long |
getOrginalUserId() |
Long |
getTargetUserId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SwitchUserNotAllowedException(Long orginalUserId, Long targetUserId, String message)
orginalUserId
- id of the user trying to change the contexttargetUserId
- if of the user to switch tomessage
- the message of this exceptione
- public SwitchUserNotAllowedException(Long orginalUserId, Long targetUserId, String message, Throwable throwable)
orginalUserId
- id of the user trying to change the contexttargetUserId
- if of the user to switch tomessage
- the messagethrowable
- the cause of the exceptionCopyright © 2019 Communote team. All rights reserved.