Changeset 6550


Ignore:
Timestamp:
06/22/10 07:39:57 (9 years ago)
Author:
callan
Message:

Fixing enumeration handler logging when the requested value is null.

Location:
trunk/components/ome-xml/src/ome/xml/model/enums/handlers
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/AcquisitionModeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    111111    } 
    112112    LOGGER.warn("Could not find enumeration for '{}'({})", 
    113                 value, value.length()); 
     113                value, value == null? -1 : value.length()); 
    114114    return AcquisitionMode.OTHER; 
    115115  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/ArcTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9393    } 
    9494    LOGGER.warn("Could not find enumeration for '{}'({})", 
    95                 value, value.length()); 
     95                value, value == null? -1 : value.length()); 
    9696    return ArcType.OTHER; 
    9797  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/BinningEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9999    } 
    100100    LOGGER.warn("Could not find enumeration for '{}'({})", 
    101                 value, value.length()); 
     101                value, value == null? -1 : value.length()); 
    102102    return Binning.OTHER; 
    103103  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/CompressionEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9292    } 
    9393    LOGGER.warn("Could not find enumeration for '{}'({})", 
    94                 value, value.length()); 
     94                value, value == null? -1 : value.length()); 
    9595    throw new EnumerationException(this.getClass().getName() + 
    9696     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/ContrastMethodEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9898    } 
    9999    LOGGER.warn("Could not find enumeration for '{}'({})", 
    100                 value, value.length()); 
     100                value, value == null? -1 : value.length()); 
    101101    return ContrastMethod.OTHER; 
    102102  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/CorrectionEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    114114    } 
    115115    LOGGER.warn("Could not find enumeration for '{}'({})", 
    116                 value, value.length()); 
     116                value, value == null? -1 : value.length()); 
    117117    return Correction.OTHER; 
    118118  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/DetectorTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    107107    } 
    108108    LOGGER.warn("Could not find enumeration for '{}'({})", 
    109                 value, value.length()); 
     109                value, value == null? -1 : value.length()); 
    110110    return DetectorType.OTHER; 
    111111  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/DimensionOrderEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9595    } 
    9696    LOGGER.warn("Could not find enumeration for '{}'({})", 
    97                 value, value.length()); 
     97                value, value == null? -1 : value.length()); 
    9898    throw new EnumerationException(this.getClass().getName() + 
    9999     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/ExperimentTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    105105    } 
    106106    LOGGER.warn("Could not find enumeration for '{}'({})", 
    107                 value, value.length()); 
     107                value, value == null? -1 : value.length()); 
    108108    return ExperimentType.OTHER; 
    109109  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/FilamentTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9292    } 
    9393    LOGGER.warn("Could not find enumeration for '{}'({})", 
    94                 value, value.length()); 
     94                value, value == null? -1 : value.length()); 
    9595    return FilamentType.OTHER; 
    9696  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/FillRuleEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9191    } 
    9292    LOGGER.warn("Could not find enumeration for '{}'({})", 
    93                 value, value.length()); 
     93                value, value == null? -1 : value.length()); 
    9494    throw new EnumerationException(this.getClass().getName() + 
    9595     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/FilterTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9696    } 
    9797    LOGGER.warn("Could not find enumeration for '{}'({})", 
    98                 value, value.length()); 
     98                value, value == null? -1 : value.length()); 
    9999    return FilterType.OTHER; 
    100100  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/FontFamilyEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9393    } 
    9494    LOGGER.warn("Could not find enumeration for '{}'({})", 
    95                 value, value.length()); 
     95                value, value == null? -1 : value.length()); 
    9696    throw new EnumerationException(this.getClass().getName() + 
    9797     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/FontStyleEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9393    } 
    9494    LOGGER.warn("Could not find enumeration for '{}'({})", 
    95                 value, value.length()); 
     95                value, value == null? -1 : value.length()); 
    9696    throw new EnumerationException(this.getClass().getName() + 
    9797     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/IlluminationTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9494    } 
    9595    LOGGER.warn("Could not find enumeration for '{}'({})", 
    96                 value, value.length()); 
     96                value, value == null? -1 : value.length()); 
    9797    return IlluminationType.OTHER; 
    9898  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/ImmersionEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    104104    } 
    105105    LOGGER.warn("Could not find enumeration for '{}'({})", 
    106                 value, value.length()); 
     106                value, value == null? -1 : value.length()); 
    107107    return Immersion.OTHER; 
    108108  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/LaserMediumEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    123123    } 
    124124    LOGGER.warn("Could not find enumeration for '{}'({})", 
    125                 value, value.length()); 
     125                value, value == null? -1 : value.length()); 
    126126    return LaserMedium.OTHER; 
    127127  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/LaserTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9797    } 
    9898    LOGGER.warn("Could not find enumeration for '{}'({})", 
    99                 value, value.length()); 
     99                value, value == null? -1 : value.length()); 
    100100    return LaserType.OTHER; 
    101101  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/LineCapEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9292    } 
    9393    LOGGER.warn("Could not find enumeration for '{}'({})", 
    94                 value, value.length()); 
     94                value, value == null? -1 : value.length()); 
    9595    throw new EnumerationException(this.getClass().getName() + 
    9696     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/MarkerEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9292    } 
    9393    LOGGER.warn("Could not find enumeration for '{}'({})", 
    94                 value, value.length()); 
     94                value, value == null? -1 : value.length()); 
    9595    throw new EnumerationException(this.getClass().getName() + 
    9696     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/MediumEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9494    } 
    9595    LOGGER.warn("Could not find enumeration for '{}'({})", 
    96                 value, value.length()); 
     96                value, value == null? -1 : value.length()); 
    9797    return Medium.OTHER; 
    9898  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/MicrobeamManipulationTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9797    } 
    9898    LOGGER.warn("Could not find enumeration for '{}'({})", 
    99                 value, value.length()); 
     99                value, value == null? -1 : value.length()); 
    100100    return MicrobeamManipulationType.OTHER; 
    101101  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/MicroscopeTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9494    } 
    9595    LOGGER.warn("Could not find enumeration for '{}'({})", 
    96                 value, value.length()); 
     96                value, value == null? -1 : value.length()); 
    9797    return MicroscopeType.OTHER; 
    9898  } 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/NamingConventionEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9191    } 
    9292    LOGGER.warn("Could not find enumeration for '{}'({})", 
    93                 value, value.length()); 
     93                value, value == null? -1 : value.length()); 
    9494    throw new EnumerationException(this.getClass().getName() + 
    9595     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/PixelTypeEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    100100    } 
    101101    LOGGER.warn("Could not find enumeration for '{}'({})", 
    102                 value, value.length()); 
     102                value, value == null? -1 : value.length()); 
    103103    throw new EnumerationException(this.getClass().getName() + 
    104104     " could not find enumeration for " + value); 
  • trunk/components/ome-xml/src/ome/xml/model/enums/handlers/PulseEnumHandler.java

    r6531 r6550  
    3232 * 
    3333 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    34  * Created by callan via xsd-fu on 2010-06-11 17:18:07+0100 
     34 * Created by callan via xsd-fu on 2010-06-22 13:36:18+0100 
    3535 * 
    3636 *----------------------------------------------------------------------------- 
     
    9595    } 
    9696    LOGGER.warn("Could not find enumeration for '{}'({})", 
    97                 value, value.length()); 
     97                value, value == null? -1 : value.length()); 
    9898    return Pulse.OTHER; 
    9999  } 
Note: See TracChangeset for help on using the changeset viewer.