public static long convertToLong (@Nonnull final Object aSrcValue)
  {
    if (aSrcValue == null)
      throw new TypeConverterException (long.class, EReason.NULL_SOURCE_NOT_ALLOWED);
    final Long aValue = convert (aSrcValue, Long.class);
    return aValue.longValue ();
  }
public static long convertToLong ( @ Nonnull final Object aSrcValue ) { if ( aSrcValue == null ) throw new TypeConverterException ( long . class , EReason . NULL_SOURCE_NOT_ALLOWED ) ; final Long aValue = convert ( aSrcValue , Long . class ) ; return aValue . longValue ( ) ; }
Convert the passed source value to long

@param aSrcValue
The source value. May not be <code>null</code>.
@return The converted value.
@throws TypeConverterException
if the source value is <code>null</code> or if no converter was
found or if the converter returned a <code>null</code> object.
@throws RuntimeException
If the converter itself throws an exception
@see TypeConverterProviderBestMatch