public static int getContainerPageTypeIdSafely() {

        try {
            return getContainerPageTypeId();
        } catch (CmsLoaderException e) {
            if (LOG.isDebugEnabled()) {
                LOG.debug(e.getLocalizedMessage(), e);
            }
            return -1;
        }
    }
public static int getContainerPageTypeIdSafely ( ) { try { return getContainerPageTypeId ( ) ; } catch ( CmsLoaderException e ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( e . getLocalizedMessage ( ) , e ) ; } return - 1 ; } }
Returns the container-page type id, but returns -1 instead of throwing an exception when an error happens.<p>

@return the container-page type id