edu.udayton.udri.asset.novatel/src/edu/udayton/udri/asset/novatel/impl/message/NovatelMessageParserImpl.java
private void checkArgsForNull(final String type, final String message, final Object... objectsToCheck) 
            throws NovatelMessageException
    {
        for (int i = 0; i < objectsToCheck.length; i++)
        {
            if (objectsToCheck[i] == null)
            {
                throw new NovatelMessageException(
                    String.format("The %s value at position %d, from NovAtel message [%s] is not a parseable value.", 
                        type, i, message), FormatProblem.PARSING_ERROR);
            }
        }
    }
/**
     * Check if arguments are null.
     * @param type
     *      the type of variable being checked
     * @param message
     *      the NovAtel message type from which the variable originated
     * @param objectsToCheck
     *      the objects to check if null
     * @throws NovatelMessageException
     *      if there is a null value, which represents a value which was not able to be parsed
     */
Check if arguments are null.
@param type
the type of variable being checked
@param message
the NovAtel message type from which the variable originated
@param objectsToCheck
the objects to check if null
@throws NovatelMessageException
if there is a null value, which represents a value which was not able to be parsed
Check if arguments are null . @param type the type of variable being checked @param message the NovAtel message type from which the variable originated @param objectsToCheck the objects to check if null @throws NovatelMessageException if there is a null value which represents a value which was not able to be parsed
private void checkArgsForNull(final String type, final String message, final Object... objectsToCheck) 
            throws NovatelMessageException
    {
        for (int i = 0; i < objectsToCheck.length; i++)
        {
            if (objectsToCheck[i] == null)
            {
                throw new NovatelMessageException(
                    String.format("The %s value at position %d, from NovAtel message [%s] is not a parseable value.", 
                        type, i, message), FormatProblem.PARSING_ERROR);
            }
        }
    }
private void checkArgsForNull ( final String type , final String message , final Object ... objectsToCheck ) throws NovatelMessageException { for ( int i = 0 ; i < objectsToCheck . length ; i ++ ) { if ( objectsToCheck [ i ] == null ) { throw new NovatelMessageException ( String . format ( "The %s value at position %d, from NovAtel message [%s] is not a parseable value." , type , i , message ) , FormatProblem . PARSING_ERROR ) ; } } }
Check if arguments are null.
Check if arguments are null .