Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Workspace getWorkspace(final String workspaceId) throws ResourcePluginException{
- Workspace workspace = workspaceResource.getWorkspace(workspaceId);
- if (workspace == null) {
- throw new CabItemBuilderException(ResponseCode.WORKSPACE_NOT_FOUND, "Unable to retrieve workspace for workspace ID: " + workspaceId);
- }
- return workspace;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement