# File P4Triggers.rb, line 154
    def parse_change( change_no )
        begin
            if ( ! change_no )
                raise(        "No changelist number supplied to trigger script.\n" +
                        "Please check your trigger configuration."
                     )
            end
            get_change( change_no )
            return ( validate() ? 0 : 1 )
        rescue 
            # Report errors to stderr, so they go into the Perforce server's
            # logfile and report a simpler message to stdout
            $stderr.puts( "\nError during trigger execution:\n\n" )
            if ( $!.kind_of?( P4Exception ) )
                p4.errors.each { |e| $stderr.puts( e ) }
            else
                $stderr.puts( $!.to_s )
            end
            $stderr.puts( "\nStack Trace:\n" )
            $stderr.puts( $!.backtrace )
            $stdout.puts( error_message() )

            # Now we return false to the caller so they can return with 
            # the correct exit status
            return 1
        end
    end