public class SoapExceptionTranslator extends Object
Constructor and Description |
---|
SoapExceptionTranslator() |
public static void throwSoapEquivalentCheckedException(ApplicationPermissionException e) throws ApplicationPermissionException
ApplicationPermissionException
public static void throwSoapEquivalentCheckedException(ApplicationAccessDeniedException e) throws ApplicationAccessDeniedException
ApplicationAccessDeniedException
public static void throwSoapEquivalentCheckedException(BulkAddFailedException e) throws BulkAddFailedException
BulkAddFailedException
public static void throwSoapEquivalentCheckedException(InvalidAuthorizationTokenException e) throws InvalidAuthorizationTokenException
public static void throwSoapEquivalentCheckedException(InvalidEmailAddressException e) throws InvalidEmailAddressException
InvalidEmailAddressException
public static void throwSoapEquivalentCheckedException(InvalidTokenException e) throws InvalidTokenException
InvalidTokenException
public static void throwSoapEquivalentCheckedException(ExpiredCredentialException e) throws ExpiredCredentialException
ExpiredCredentialException
public static void throwSoapEquivalentCheckedException(InactiveAccountException e) throws InactiveAccountException
InactiveAccountException
public static void throwSoapEquivalentCheckedException(InvalidAuthenticationException e) throws InvalidAuthenticationException
InvalidAuthenticationException
public static void throwSoapEquivalentCheckedException(InvalidCredentialException e) throws InvalidCredentialException
InvalidCredentialException
public static void throwSoapEquivalentCheckedException(InvalidGroupException e) throws InvalidGroupException
InvalidGroupException
public static void throwSoapEquivalentCheckedException(InvalidRoleException e) throws InvalidRoleException
InvalidRoleException
public static void throwSoapEquivalentCheckedException(InvalidUserException e) throws InvalidUserException
InvalidUserException
public static void throwSoapEquivalentCheckedException(ObjectNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
public static void throwSoapEquivalentCheckedException(GroupNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
public static void throwSoapEquivalentCheckedException(UserNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
public static void throwSoapEquivalentCheckedException(MembershipNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
public static void throwEquivalentCheckedException(ApplicationPermissionException e) throws ApplicationPermissionException
ApplicationPermissionException
public static void throwEquivalentCheckedException(ApplicationAccessDeniedException e) throws ApplicationAccessDeniedException
ApplicationAccessDeniedException
public static void throwEquivalentCheckedException(BulkAddFailedException e) throws BulkAddFailedException
BulkAddFailedException
public static void throwEquivalentCheckedException(InvalidAuthorizationTokenException e) throws InvalidAuthorizationTokenException
public static void throwEquivalentCheckedException(InvalidEmailAddressException e) throws InvalidEmailAddressException
InvalidEmailAddressException
public static void throwEquivalentCheckedException(InvalidTokenException e) throws InvalidTokenException
InvalidTokenException
public static void throwEquivalentCheckedException(ExpiredCredentialException e) throws ExpiredCredentialException
ExpiredCredentialException
public static void throwEquivalentCheckedException(InactiveAccountException e) throws InactiveAccountException
InactiveAccountException
public static void throwEquivalentCheckedException(InvalidAuthenticationException e) throws InvalidAuthenticationException
InvalidAuthenticationException
public static void throwEquivalentCheckedException(InvalidCredentialException e) throws InvalidCredentialException
InvalidCredentialException
public static void throwEquivalentCheckedException(InvalidGroupException e) throws InvalidGroupException
InvalidGroupException
public static void throwEquivalentCheckedException(InvalidRoleException e) throws InvalidRoleException
InvalidRoleException
public static void throwEquivalentCheckedException(InvalidUserException e) throws InvalidUserException
InvalidUserException
public static void throwEquivalentCheckedException(ObjectNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
public static void throwEquivalentUserNotFoundException(ObjectNotFoundException e) throws UserNotFoundException
ObjectNotFoundException
.e
- must be able to translate to a UserNotFoundExceptionUserNotFoundException
- the equivalent UserNotFoundExceptionAssertionError
- if the exception cannot be translated to a UserNotFoundException.public static void throwEquivalentGroupNotFoundException(ObjectNotFoundException e) throws GroupNotFoundException
ObjectNotFoundException
.e
- must be able to translate to a GroupNotFoundExceptionGroupNotFoundException
- the equivalent GroupNotFoundExceptionAssertionError
- if the exception cannot be translated to a GroupNotFoundException.public static void throwEquivalentMembershipNotFoundException(ObjectNotFoundException e) throws MembershipNotFoundException
ObjectNotFoundException
.e
- must be able to translate to a MembershipNotFoundExceptionMembershipNotFoundException
- the equivalent MembershipNotFoundExceptionAssertionError
- if the exception cannot be translated to a MembershipNotFoundException.public static void throwEquivalentObjectNotFoundException(ObjectNotFoundException e) throws ObjectNotFoundException
ObjectNotFoundException
from ObjectNotFoundException
.e
- must be able to translate to a ObjectNotFoundException
ObjectNotFoundException
- the equivalent ObjectNotFoundExceptionAssertionError
- if the exception cannot be translated to a ObjectNotFoundException
.public static void throwEquivalentUserOrGroupNotFoundException(ObjectNotFoundException e) throws UserNotFoundException, GroupNotFoundException
ObjectNotFoundException
.e
- must be able to translate to a UserNotFoundException or GroupNotFoundExceptionUserNotFoundException
- the equivalent UserNotFoundExceptionGroupNotFoundException
- the equivalent GroupNotFoundExceptionAssertionError
- if the exception cannot be translated to a UserNotFoundException or GroupNotFoundException.public static void throwEquivalentUserOrGroupOrMembershipNotFoundException(ObjectNotFoundException e) throws UserNotFoundException, GroupNotFoundException, MembershipNotFoundException
ObjectNotFoundException
.e
- must be able to translate to a UserNotFoundException, GroupNotFoundException or MembershipNotFoundExceptionUserNotFoundException
- the equivalent UserNotFoundExceptionGroupNotFoundException
- the equivalent GroupNotFoundExceptionMembershipNotFoundException
- the equivalent MembershipNotFoundExceptionAssertionError
- if the exception cannot be translated to a UserNotFoundException, GroupNotFoundException or MembershipNotFoundException.Copyright © 2021 Atlassian. All rights reserved.