public CmsResource safeCreateResource() {

        try {
            return createResource();
        } catch (Exception e) {
            for (I_Callback callback : m_callbacks) {
                callback.onError(e);
            }
            return null;
        }
    }
public CmsResource safeCreateResource ( ) { try { return createResource ( ) ; } catch ( Exception e ) { for ( I_Callback callback : m_callbacks ) { callback . onError ( e ) ; } return null ; } }
Creates a resource, but doesn't throw any exceptions.<p>

Exceptions will be passed to the onError method of registered callbacks.<p>

@return the created resource