ccc.api.jaxrs
Class JaxrsCollection

java.lang.Object
  extended by ccc.api.jaxrs.JaxrsCollection
Direct Known Subclasses:
ActionsImpl, AliasesImpl, CommentsImpl, FilesImpl, FoldersImpl, GroupsImpl, PagesImpl, ResourcesImpl, SearchImpl, SecurityImpl2, TemplatesImpl, UsersImpl

public abstract class JaxrsCollection
extends java.lang.Object

Abstract base class for JAX-RS implementations of API services.

Author:
Civic Computing Ltd.

Constructor Summary
JaxrsCollection()
           
 
Method Summary
 java.lang.RuntimeException convertException(java.lang.RuntimeException e)
          Convert a runtime exception to a CC specific exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxrsCollection

public JaxrsCollection()
Method Detail

convertException

public java.lang.RuntimeException convertException(java.lang.RuntimeException e)
Convert a runtime exception to a CC specific exception.

Parameters:
e - The runtime exception.
Returns:
The converted exception.


Copyright © 2010. All Rights Reserved.