Changeset 294 for ether_megapoli/trunk


Ignore:
Timestamp:
12/09/11 16:16:40 (13 years ago)
Author:
vmipsl
Message:

clean : suppression du EtherException?

Location:
ether_megapoli/trunk
Files:
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/common/implementation/com/ether/WebHelper.java

    r275 r294  
    11package com.ether; 
    22 
    3 import com.ether.EtherException.EtherCode; 
    43import org.apache.commons.logging.Log; 
    54import org.apache.commons.logging.LogFactory; 
     
    5049 
    5150    public static void displayAjaxError( @NotNull final HttpServletResponse response, @Nullable final String methodName ) 
    52             throws EtherException 
     51            throws FormattedException 
    5352    { 
    5453        try 
     
    6463        catch( IOException e ) 
    6564        { 
    66             throw new EtherException( EtherCode.IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, e ); 
     65            throw new FormattedException( FormattedException.FormattedExceptionCode.IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, e ); 
    6766        } 
    6867    } 
  • ether_megapoli/trunk/common/interface/com/ether/FormattedException.java

    r286 r294  
    8686    } 
    8787 
     88    public static enum FormattedExceptionCode 
     89            implements Code 
     90    { 
     91        IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, 
     92    } 
     93 
     94 
    8895    public static String DEFAULT_MESSAGE = "no message"; 
    8996    public static String DEFAULT_THROWABLE = null; 
  • ether_megapoli/trunk/service/test/com/ether/SGTTest.java

    r191 r294  
    488488            @ParamName(ParameterConstants.PARAMETER_DATE_BEGIN) final String dateBegin, 
    489489            @ParamName(ParameterConstants.PARAMETER_DATE_END) final String dateEnd ) 
    490             throws ServiceException, EtherException, ParseException 
     490            throws ServiceException, ParseException 
    491491    { 
    492492//        final String pofBegin = "2009-07-13 13:00"; 
  • ether_megapoli/trunk/web/resources/css/megapoli.css

    r278 r294  
    289289} 
    290290 
     291.smallRoundTable { 
     292    -moz-border-radius: 4px; 
     293    -webkit-border-radius: 4px; 
     294    border: 1px solid; 
     295} 
     296 
    291297.divMenu_arrow, .divMenu_arrow.deployed { 
    292298    height: 13px; 
  • ether_megapoli/trunk/web/resources/jsp/credits_en.jsp

    r261 r294  
    22 
    33<BR/> 
    4 TODO : A traduire si contenu OK 
    54<div class="containerSlideContent2"> 
    6     <div class="title2">Site web Megapoli</div> 
    7     Le design de ce site a été conçu et réalisé par le CGTD ETHER Paris. 
     5    <div class="title2">Web site Megapoli</div> 
     6    This web site design was created by the CGTD Ether Paris. 
    87    <BR/><BR/> 
    9     <div class="title2">Crédits photos</div> 
    10     Les images utilisées pour la réalisation de ce site web Megapoli proviennent, pour la plupart, de la photothÚque du CNRS et du fond de ETHER.<BR/> 
    11     Elles sont la propriété du CNRS et de ETHER. Toute copie, totale ou partielle, ne peut se faire sans leur accord. 
     8    <div class="title2">Images credits</div> 
     9    Images used for this Megapoli web site mostly belong to the CNRS and ETHER pictures library.<BR/> 
     10    They are properties to CNRS and ETHER. Any copies, complete or partial, can not be done without their consent. 
    1211</div> 
  • ether_megapoli/trunk/web/src/com/ether/ControllerEther.java

    r284 r294  
    4444    @Nullable 
    4545    protected ModelAndView handleRequestInternal( @NotNull final HttpServletRequest request, @NotNull final HttpServletResponse response ) 
    46             throws WebException, EtherException 
     46            throws WebException 
    4747    { 
    4848        try 
     
    7474        { 
    7575            throw new WebException( WebException.WebCode.ERROR_NO_REQUEST_HANDLING_METHOD, e ); 
     76        } 
     77        catch( FormattedException e ) 
     78        { 
     79            throw new WebException( WebException.WebCode.ERROR_DISPLAY_AJAX, e ); 
    7680        } 
    7781    } 
  • ether_megapoli/trunk/web/src/com/ether/ControllerVisualization.java

    r285 r294  
    4646    // Default view if methodName is unknown 
    4747    public ModelAndView home( final HttpServletRequest request, final HttpServletResponse response ) 
    48             throws EtherException 
     48            throws ServiceException 
    4949    { 
    5050        return new ModelAndView( "index" ); 
     
    8787    @ControllerMethod(jsonResult = true) 
    8888    public JSONObject searchParametersByPlateform( @Mandatory @ParamName(ParameterConstants.PARAMETER_ID) final Integer plateformId ) 
    89             throws ServiceException, EtherException 
     89            throws ServiceException 
    9090    { 
    9191        final List<Parametre> fullParametersByPlateform = getEtherService().getParametersByPlateformId( plateformId ); 
  • ether_megapoli/trunk/web/src/com/ether/WebException.java

    r286 r294  
    4545        ERROR_EMAIL_CANNOT_BE_SEND, 
    4646        ERROR_ENCRYPT_PASSWORD, 
    47         ERROR_NON_ACCESS_TO_BO_AUTHORIZED 
     47        ERROR_NON_ACCESS_TO_BO_AUTHORIZED, 
     48        ERROR_DISPLAY_AJAX 
    4849    } 
    4950 
  • ether_megapoli/trunk/web/visualization/visu.jsp

    r270 r294  
    8888 
    8989        <div class="textExamples"><bean:message key="data.visualization.general.example.2D"/></div> 
    90         <table class="roundTable" border="1"> 
     90        <table class="smallRoundTable" border="1"> 
    9191            <tr> 
    9292                <td> 
Note: See TracChangeset for help on using the changeset viewer.